|
@@ -0,0 +1,38 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#80000000">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/progressText"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/determinateProgress"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/determinateProgress"
|
|
|
+ style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
+ android:layout_width="240dp"
|
|
|
+ android:layout_height="4dp"
|
|
|
+ android:max="100"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/inDeterminateProgress"
|
|
|
+ style="@style/Widget.AppCompat.ProgressBar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+</android.support.constraint.ConstraintLayout>
|