Added dialog for download. (investigating other options)

This commit is contained in:
PWRxPSYCHO 2022-02-18 10:58:59 -05:00
parent dcad0f3ad9
commit a579ce76fc
3 changed files with 128 additions and 28 deletions

View file

@ -0,0 +1,44 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- <CheckBox-->
<!-- android:id="@+id/checkbox"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- android:text="Use Custom URI?"-->
<!-- />-->
<EditText
android:id="@+id/uri"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginTop="16dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="4dp"
android:hint="URI"
android:inputType="textUri" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/latitude"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:text="Lat:" />
<TextView
android:id="@+id/longitude"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp"
android:text="Lon:" />
</LinearLayout>
</LinearLayout>

View file

@ -36,21 +36,21 @@
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/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:layout_margin="16dp"
android:backgroundTint="@color/buttonColor"
android:contentDescription="@string/download_region"
android:src="@drawable/baseline_download_white_24dp"
@ -58,4 +58,5 @@
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>