File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
java/im/vector/app/features/attachments/camera Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ class AttachmentsCameraFragment @Inject constructor(
236
236
private fun takePhoto () {
237
237
Timber .d(" Taking a photo" )
238
238
context?.let { context ->
239
+ views.attachmentsCameraLoading.isVisible = true
239
240
// Get a stable reference of the modifiable image capture use case
240
241
val imageCapture = imageCapture ? : return
241
242
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