summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_config_fetcher.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-02-03 12:27:34 -0300
committerTorsten Grote <t@grobox.de>2020-02-03 12:27:34 -0300
commit163f1311116d4019a144d1cd98270a4e2fe1fd77 (patch)
treed5532d0bd16d4f4ba606d454c453d3cc52270fc9 /app/src/main/res/layout/fragment_config_fetcher.xml
parentf5740d3c47993577796c43fac068fff9141af3a2 (diff)
downloadmerchant-terminal-android-163f1311116d4019a144d1cd98270a4e2fe1fd77.tar.gz
merchant-terminal-android-163f1311116d4019a144d1cd98270a4e2fe1fd77.tar.bz2
merchant-terminal-android-163f1311116d4019a144d1cd98270a4e2fe1fd77.zip
Require valid configuration before showing UI
Diffstat (limited to 'app/src/main/res/layout/fragment_config_fetcher.xml')
-rw-r--r--app/src/main/res/layout/fragment_config_fetcher.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_config_fetcher.xml b/app/src/main/res/layout/fragment_config_fetcher.xml
new file mode 100644
index 0000000..e00a307
--- /dev/null
+++ b/app/src/main/res/layout/fragment_config_fetcher.xml
@@ -0,0 +1,29 @@
+<?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"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_margin="16dp">
+
+ <TextView
+ android:id="@+id/titleView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:text="@string/config_fetching"
+ android:textAppearance="@style/TextAppearance.AppCompat.Headline"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/titleView" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>