Skip to content

Commit 7611398

Browse files
style(progress): replace circular ProgressBar with M3 CircularProgressIndicator
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 728cbc9 commit 7611398

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/src/main/res/layout/activity_notes_list_view.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,12 @@
119119
android:id="@+id/empty_content_view"
120120
layout="@layout/empty_content_view" />
121121

122-
<ProgressBar
122+
<com.google.android.material.progressindicator.CircularProgressIndicator
123123
android:id="@+id/progress_circular"
124124
android:layout_width="wrap_content"
125125
android:layout_height="wrap_content"
126126
android:layout_gravity="center"
127+
android:indeterminate="true"
127128
android:indeterminateTint="@color/defaultBrand"
128129
tools:visibility="gone" />
129130

app/src/main/res/layout/fragment_note_direct_edit.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
android:layout_height="match_parent"
1919
tools:visibility="visible" />
2020

21-
<ProgressBar
21+
<com.google.android.material.progressindicator.CircularProgressIndicator
2222
android:id="@+id/progress"
2323
android:layout_width="wrap_content"
2424
android:layout_height="wrap_content"
25+
android:indeterminate="true"
2526
app:layout_constraintBottom_toBottomOf="parent"
2627
app:layout_constraintEnd_toEndOf="parent"
2728
app:layout_constraintStart_toStartOf="parent"

0 commit comments

Comments
 (0)