aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 00:52:22 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 00:52:22 -0600
commitf8a4f5e6ab88439325aaf05fd9ff0427ed4ecfb8 (patch)
tree27083e80aef72427e760bf4c805b6186dc0a12c3 /androidApp/src/main/res
parent54d1bb1f14e13256fb205a2ef1a8c9779f795d9a (diff)
downloadetbsa-trackermap-mobile-f8a4f5e6ab88439325aaf05fd9ff0427ed4ecfb8.tar.gz
etbsa-trackermap-mobile-f8a4f5e6ab88439325aaf05fd9ff0427ed4ecfb8.tar.bz2
etbsa-trackermap-mobile-f8a4f5e6ab88439325aaf05fd9ff0427ed4ecfb8.zip
Switch to list fragment on search and fixed black flash when switching fragments
Diffstat (limited to 'androidApp/src/main/res')
-rw-r--r--androidApp/src/main/res/layout/unit_map_fragment.xml2
-rw-r--r--androidApp/src/main/res/layout/units_activity.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/androidApp/src/main/res/layout/unit_map_fragment.xml b/androidApp/src/main/res/layout/unit_map_fragment.xml
index e2bee95..a86a7e9 100644
--- a/androidApp/src/main/res/layout/unit_map_fragment.xml
+++ b/androidApp/src/main/res/layout/unit_map_fragment.xml
@@ -15,7 +15,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:name="mx.trackermap.TrackerMap.android.map.MapFragment"
- tools:visibility="invisible"/>
+ tools:visibility="visible"/>
<androidx.cardview.widget.CardView
android:id="@+id/mapUnitCard"
diff --git a/androidApp/src/main/res/layout/units_activity.xml b/androidApp/src/main/res/layout/units_activity.xml
index a468151..5abb95b 100644
--- a/androidApp/src/main/res/layout/units_activity.xml
+++ b/androidApp/src/main/res/layout/units_activity.xml
@@ -7,14 +7,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/displayContainer"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintTop_toTopOf="parent"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/displayModeToggle"