diff app/src/main/res/layout/activity_edit_image.xml @ 10:5626557ac542 memo

Add progress bar and a worker thread. Still way slow.
author David Barts <n5jrn@me.com>
date Wed, 17 Feb 2021 13:39:50 -0800
parents 06825e49f7aa
children 3aaf65a7fb9c
line wrap: on
line diff
--- a/app/src/main/res/layout/activity_edit_image.xml	Wed Feb 17 07:43:50 2021 -0800
+++ b/app/src/main/res/layout/activity_edit_image.xml	Wed Feb 17 13:39:50 2021 -0800
@@ -72,4 +72,15 @@
         app:layout_constraintStart_toEndOf="@id/cancel_button"
         app:layout_constraintTop_toBottomOf="@id/rotate_button" />
 
+    <ProgressBar
+        android:id="@+id/progress_bar"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:indeterminate="true"
+        android:visibility="invisible"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintEnd_toEndOf="parent"
+        app:layout_constraintStart_toStartOf="parent"
+        app:layout_constraintTop_toTopOf="parent" />
+
 </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file