Meshtastic-Android/app/src/main/res/layout/map_view.xml

61 lines
2.5 KiB
XML
Raw Normal View History

2020-03-11 18:13:44 -07:00
<?xml version="1.0" encoding="utf-8"?>
2022-02-17 10:38:33 -05:00
<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"
2020-03-11 18:13:44 -07:00
android:layout_width="match_parent"
2022-02-17 10:38:33 -05:00
android:layout_height="match_parent">
<com.mapbox.maps.MapView
2022-02-17 10:38:33 -05:00
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:mapbox_cameraZoom="0" />
2022-02-17 10:38:33 -05:00
2022-02-17 15:22:46 -05:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/style_pack_download_progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="8"
android:clickable="false"
android:indeterminate="false"
android:max="100"
android:progressTint="@color/colorPrimaryDark"
android:visibility="gone" />
2022-02-17 15:22:46 -05:00
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_style_toggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:backgroundTint="@color/buttonColor"
android:contentDescription="@string/style_selection"
android:src="@drawable/baseline_layers_white_24dp"
tools:background="@color/buttonColor" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/download_region"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:backgroundTint="@color/buttonColor"
android:contentDescription="@string/download_region"
android:src="@drawable/baseline_download_white_24dp"
tools:background="@color/buttonColor" />
</LinearLayout>
2022-02-17 15:22:46 -05:00
2022-02-17 10:38:33 -05:00
</androidx.constraintlayout.widget.ConstraintLayout>