|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | | - android:layout_width="match_parent" |
| 4 | + xmlns:tools="http://schemas.android.com/tools" |
5 | 5 | android:id="@+id/container" |
| 6 | + android:layout_width="match_parent" |
6 | 7 | android:layout_height="match_parent"> |
7 | 8 |
|
8 | 9 | <me.zhanghai.android.fastscroll.FastScrollScrollView |
|
52 | 53 | android:layout_marginTop="24dp" |
53 | 54 | android:text="@string/horizontal" /> |
54 | 55 |
|
55 | | - <androidx.core.widget.ContentLoadingProgressBar |
| 56 | + <com.google.android.material.progressindicator.LinearProgressIndicator |
56 | 57 | android:id="@+id/progress_bar_horizontal" |
57 | | - style="?android:attr/progressBarStyleHorizontal" |
| 58 | + style="@style/Widget.Material3Expressive.LinearProgressIndicator.Wavy" |
58 | 59 | android:layout_width="match_parent" |
59 | 60 | android:layout_height="wrap_content" |
60 | | - android:layout_margin="24dp" /> |
| 61 | + android:layout_margin="24dp" |
| 62 | + android:indeterminate="true" /> |
61 | 63 |
|
62 | 64 | <com.google.android.material.button.MaterialButton |
63 | 65 | android:id="@+id/button_download_horizontal" |
|
74 | 76 | android:layout_marginTop="24dp" |
75 | 77 | android:text="@string/circular" /> |
76 | 78 |
|
77 | | - <androidx.core.widget.ContentLoadingProgressBar |
| 79 | + <com.google.android.material.progressindicator.CircularProgressIndicator |
78 | 80 | android:id="@+id/progress_bar" |
79 | | - style="?android:attr/progressBarStyle" |
| 81 | + style="@style/Widget.Material3Expressive.CircularProgressIndicator.Wavy" |
80 | 82 | android:layout_width="wrap_content" |
81 | 83 | android:layout_height="wrap_content" |
82 | 84 | android:layout_gravity="center" |
83 | | - android:layout_margin="24dp" /> |
| 85 | + android:layout_margin="24dp" |
| 86 | + android:indeterminate="true" |
| 87 | + app:layout_constraintEnd_toEndOf="parent" |
| 88 | + app:layout_constraintStart_toStartOf="parent" |
| 89 | + app:layout_constraintTop_toTopOf="parent" /> |
84 | 90 |
|
85 | 91 | <com.google.android.material.button.MaterialButton |
86 | 92 | android:id="@+id/button_download" |
|
0 commit comments