summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/res/layout/dialog_progress_bar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/app/src/main/res/layout/dialog_progress_bar.xml')
-rw-r--r--src/android/app/src/main/res/layout/dialog_progress_bar.xml25
1 files changed, 7 insertions, 18 deletions
diff --git a/src/android/app/src/main/res/layout/dialog_progress_bar.xml b/src/android/app/src/main/res/layout/dialog_progress_bar.xml
index a81157a29..1dbfd4f7b 100644
--- a/src/android/app/src/main/res/layout/dialog_progress_bar.xml
+++ b/src/android/app/src/main/res/layout/dialog_progress_bar.xml
@@ -1,26 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
- <ProgressBar
+ <com.google.android.material.progressindicator.LinearProgressIndicator
android:id="@+id/progress_bar"
- style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/spacing_large"
- android:layout_marginRight="@dimen/spacing_large"
- android:layout_alignParentEnd="true"
- android:layout_below="@+id/progress_text"
- android:layout_alignParentStart="true"/>
+ android:layout_margin="24dp"
+ app:trackCornerRadius="4dp" />
- <TextView
- android:id="@+id/progress_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/spacing_large"
- android:layout_marginRight="@dimen/spacing_large"
- android:gravity="right"
- android:text="1/100" />
-</LinearLayout> \ No newline at end of file
+</LinearLayout>