Now showing the radar fragment for selected satellite pass in the main recycler.
This commit is contained in:
1 parent
e219d42a9b
commit
6f4ab63b4a
6 files changed
+69
-9
No files matched your search
@@ -1,6 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.RadarFragment" />
|
||||
tools:context=".ui.RadarFragment">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/radar_sky_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/radar_recycler"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/radar_sky_frame" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -9,7 +9,15 @@
|
||||
android:id="@+id/nav_sky"
|
||||
android:name="com.rtbishop.lookingsat.ui.SkyFragment"
|
||||
android:label="@string/menu_sky"
|
||||
tools:layout="@layout/fragment_sky" />
|
||||
tools:layout="@layout/fragment_sky">
|
||||
<action
|
||||
android:id="@+id/action_nav_sky_to_nav_radar"
|
||||
app:destination="@id/nav_radar"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
</fragment>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/nav_radar"
|
||||
|
||||
Reference in new issue
Block a user