comparison 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
comparison
equal deleted inserted replaced
8:6ae738b8a814 10:5626557ac542
70 app:layout_constraintBottom_toBottomOf="parent" 70 app:layout_constraintBottom_toBottomOf="parent"
71 app:layout_constraintEnd_toEndOf="parent" 71 app:layout_constraintEnd_toEndOf="parent"
72 app:layout_constraintStart_toEndOf="@id/cancel_button" 72 app:layout_constraintStart_toEndOf="@id/cancel_button"
73 app:layout_constraintTop_toBottomOf="@id/rotate_button" /> 73 app:layout_constraintTop_toBottomOf="@id/rotate_button" />
74 74
75 <ProgressBar
76 android:id="@+id/progress_bar"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:indeterminate="true"
80 android:visibility="invisible"
81 app:layout_constraintBottom_toBottomOf="parent"
82 app:layout_constraintEnd_toEndOf="parent"
83 app:layout_constraintStart_toStartOf="parent"
84 app:layout_constraintTop_toTopOf="parent" />
85
75 </androidx.constraintlayout.widget.ConstraintLayout> 86 </androidx.constraintlayout.widget.ConstraintLayout>