Now showing progress bar while calculating passes

This commit is contained in:
Arty Bishop committed 2020-10-18 15:22:13 +01:00
1 parent 8b1901fd48
commit e9424ad997
4 files changed
+23 -30

No files matched your search

+14 -4
View File
@@ -20,8 +20,7 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:keepScreenOn="true">
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
@@ -49,7 +48,7 @@
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/textView"
android:id="@+id/stub_left"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
@@ -63,7 +62,7 @@
app:layout_constraintTop_toTopOf="@+id/passes_timer" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/textView2"
android:id="@+id/stub_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
@@ -88,6 +87,17 @@
</androidx.recyclerview.widget.RecyclerView>
<ProgressBar
android:id="@+id/passes_progress"
style="@android:style/Widget.DeviceDefault.Light.ProgressBar.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="@+id/passes_recycler"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/passes_bar" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
+2 -2
View File
@@ -45,7 +45,7 @@
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/textView"
android:id="@+id/stub_left"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"
@@ -59,7 +59,7 @@
app:layout_constraintTop_toTopOf="@+id/polar_timer" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/textView2"
android:id="@+id/stub_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="4dp"