File tree 2 files changed +14
-0
lines changed
java/im/vector/app/features/attachments/camera 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ class AttachmentsCameraFragment :
240
240
private fun takePhoto () {
241
241
Timber .d(" Taking a photo" )
242
242
context?.let { context ->
243
+ views.attachmentsCameraLoading.isVisible = true
243
244
// Get a stable reference of the modifiable image capture use case
244
245
val imageCapture = imageCapture ? : return
245
246
Original file line number Diff line number Diff line change 9
9
android : layout_width =" match_parent"
10
10
android : layout_height =" match_parent" />
11
11
12
+ <com .google.android.material.progressindicator.CircularProgressIndicator
13
+ android : id =" @+id/attachmentsCameraLoading"
14
+ android : layout_width =" wrap_content"
15
+ android : layout_height =" wrap_content"
16
+ android : indeterminate =" true"
17
+ android : visibility =" invisible"
18
+ app : trackColor =" @color/alert_default_icon_color"
19
+ app : layout_constraintStart_toStartOf =" parent"
20
+ app : layout_constraintEnd_toEndOf =" parent"
21
+ app : layout_constraintTop_toTopOf =" parent"
22
+ app : layout_constraintBottom_toBottomOf =" parent"
23
+ />
24
+
12
25
<com .google.android.material.floatingactionbutton.FloatingActionButton
13
26
android : id =" @+id/attachmentsCameraChangeAction"
14
27
android : layout_width =" wrap_content"
You can’t perform that action at this time.
0 commit comments