mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
97 lines
No EOL
4 KiB
XML
97 lines
No EOL
4 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">
|
|
|
|
<com.mapbox.maps.MapView
|
|
android:id="@+id/mapView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:mapbox_cameraZoom="0" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/mapView">
|
|
|
|
<TextView
|
|
android:id="@+id/style_pack_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="Style Pack"
|
|
android:textColor="@color/colorPrimaryDark"
|
|
android:visibility="invisible" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/style_pack_download_progress"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
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/colorPrimary"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
android:id="@+id/tile_pack_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="Tile Pack"
|
|
android:textColor="@color/colorPrimaryDark"
|
|
android:visibility="invisible" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/tile_pack_download_progress"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
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/colorPrimary"
|
|
android:visibility="invisible" />
|
|
</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="@drawadownload_regionble/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="16dp"
|
|
android:backgroundTint="@color/buttonColor"
|
|
android:contentDescription="@string/download_region"
|
|
android:src="@drawable/baseline_download_white_24dp"
|
|
android:visibility="invisible"
|
|
tools:background="@color/buttonColor" />
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |