Meshtastic-Android/app/src/main/res/layout/map_view.xml
2022-09-22 08:35:33 -04:00

39 lines
No EOL
1.7 KiB
XML

<?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">
<org.osmdroid.views.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/mapStyleButton"
android:layout_width="48sp"
android:layout_height="56sp"
android:layout_margin="8dp"
android:backgroundTint="@color/colorAdvancedBackground"
android:contentDescription="@string/style_selection"
app:icon="@drawable/ic_twotone_layers_24"
app:iconGravity="textStart"
app:iconPadding="0dp"
app:iconTint="@color/unselectedColor"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/downloadButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:backgroundTint="@color/design_default_color_secondary"
android:contentDescription="@string/style_selection"
android:orientation="vertical"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:background="@color/design_default_color_secondary" />
</androidx.constraintlayout.widget.ConstraintLayout>