diff options
Diffstat (limited to 'androidApp/src/main/res/layout/units_activity.xml')
-rw-r--r-- | androidApp/src/main/res/layout/units_activity.xml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/androidApp/src/main/res/layout/units_activity.xml b/androidApp/src/main/res/layout/units_activity.xml index 07b5dad..475598f 100644 --- a/androidApp/src/main/res/layout/units_activity.xml +++ b/androidApp/src/main/res/layout/units_activity.xml @@ -40,7 +40,7 @@ app:cardCornerRadius="@dimen/card_border_radius" app:cardElevation="@dimen/card_elevation" app:layout_constraintBottom_toBottomOf="@id/displayModeToggle" - app:layout_constraintEnd_toStartOf="@id/displayModeToggle" + app:layout_constraintEnd_toStartOf="@id/mapLayerToggle" app:layout_constraintStart_toEndOf="@id/userButton" app:layout_constraintTop_toTopOf="@id/displayModeToggle"> @@ -58,6 +58,21 @@ </com.google.android.material.card.MaterialCardView> <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/mapLayerToggle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/fab_margin" + android:layout_marginEnd="@dimen/fab_margin" + android:backgroundTint="@android:color/white" + android:contentDescription="@string/switch_layer" + android:src="@drawable/icon_layers" + app:borderWidth="0dp" + app:elevation="@dimen/fab_elevation" + app:fabSize="mini" + app:layout_constraintEnd_toStartOf="@id/displayModeToggle" + app:layout_constraintTop_toTopOf="parent" /> + + <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/displayModeToggle" android:layout_width="wrap_content" android:layout_height="wrap_content" |