aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-13 18:46:43 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-13 18:46:43 -0600
commitc23de8adfa5492960fd26f113a3a377c7db134fa (patch)
tree5dcffe06f3b38ba8d16acf1d6d231e12b2d948bb /androidApp/src/main/res
parent584cefdb1df921dc8395d6f390421de7f9ba7ef5 (diff)
downloadetbsa-trackermap-mobile-c23de8adfa5492960fd26f113a3a377c7db134fa.tar.gz
etbsa-trackermap-mobile-c23de8adfa5492960fd26f113a3a377c7db134fa.tar.bz2
etbsa-trackermap-mobile-c23de8adfa5492960fd26f113a3a377c7db134fa.zip
Full screen map/devices fragment on UnitsActivity
Diffstat (limited to 'androidApp/src/main/res')
-rw-r--r--androidApp/src/main/res/layout/units_activity.xml3
-rw-r--r--androidApp/src/main/res/values/dimen.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/androidApp/src/main/res/layout/units_activity.xml b/androidApp/src/main/res/layout/units_activity.xml
index 08d1cd0..86fd99c 100644
--- a/androidApp/src/main/res/layout/units_activity.xml
+++ b/androidApp/src/main/res/layout/units_activity.xml
@@ -11,11 +11,10 @@
android:id="@+id/displayContainer"
android:layout_width="0dp"
android:layout_height="0dp"
- android:layout_marginTop="@dimen/fab_margin"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/displayModeToggle" />
+ app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/userButton"
diff --git a/androidApp/src/main/res/values/dimen.xml b/androidApp/src/main/res/values/dimen.xml
index d557010..5b17b3e 100644
--- a/androidApp/src/main/res/values/dimen.xml
+++ b/androidApp/src/main/res/values/dimen.xml
@@ -22,6 +22,9 @@
<dimen name="fab_margin">12dp</dimen>
<dimen name="fab_elevation">8dp</dimen>
+ <!-- fab_margin + 40dp (fabSize="mini") + fab_margin -->
+ <dimen name="nav_height">64dp</dimen>
+
<!-- Map -->
<dimen name="marker_label_text_size">11sp</dimen>
<dimen name="geofence_label_text_size">11sp</dimen>