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

46 lines
1.8 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">
2022-02-17 15:22:46 -05:00
<com.mapbox.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:mapbox="http://schemas.android.com/apk/res-auto"
2022-02-17 10:38:33 -05:00
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
mapbox:mapbox_cameraZoom="0" />
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:visibility="gone"
android:progressTint="@color/colorPrimaryDark" />
</LinearLayout>
<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="16dp"
2022-02-17 15:22:46 -05:00
android:src="@drawable/baseline_layers_white_24dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
2022-02-17 15:22:46 -05:00
tools:backgroundTint="@color/buttonColor"
android:contentDescription="@string/style_selection" />
2022-02-17 10:38:33 -05:00
</androidx.constraintlayout.widget.ConstraintLayout>