|
37 | 37 | android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
38 | 38 |
|
39 | 39 | <ProgressBar
|
40 |
| - android:id="@+id/horizontal_progress_native" |
41 | 40 | android:layout_width="match_parent"
|
42 | 41 | android:layout_height="wrap_content"
|
43 | 42 | android:progress="30"
|
|
51 | 50 | android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
52 | 51 |
|
53 | 52 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
54 |
| - android:id="@+id/horizontal_progress_library" |
55 | 53 | android:layout_width="match_parent"
|
56 | 54 | android:layout_height="wrap_content"
|
57 | 55 | android:progress="30"
|
58 | 56 | android:secondaryProgress="60"
|
59 | 57 | app:mpb_progressStyle="horizontal"
|
60 | 58 | style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal" />
|
61 | 59 |
|
| 60 | + <TextView |
| 61 | + android:text="@string/library_implementation_tinted" |
| 62 | + android:layout_width="match_parent" |
| 63 | + android:layout_height="wrap_content" |
| 64 | + android:textAppearance="@style/TextAppearance.AppCompat.Caption" /> |
| 65 | + |
| 66 | + <me.zhanghai.android.materialprogressbar.MaterialProgressBar |
| 67 | + android:layout_width="match_parent" |
| 68 | + android:layout_height="wrap_content" |
| 69 | + android:progress="30" |
| 70 | + android:secondaryProgress="60" |
| 71 | + app:mpb_progressStyle="horizontal" |
| 72 | + app:mpb_progressTint="@color/tint" |
| 73 | + app:mpb_secondaryProgressTint="@color/tint" |
| 74 | + app:mpb_progressBackgroundTint="@color/tint" |
| 75 | + style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal" /> |
| 76 | + |
62 | 77 | <!-- Indeterminate horizontal progress -->
|
63 | 78 |
|
64 | 79 | <TextView
|
|
74 | 89 | android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
75 | 90 |
|
76 | 91 | <ProgressBar
|
77 |
| - android:id="@+id/indeterminate_horizontal_progress_native" |
78 | 92 | android:layout_width="match_parent"
|
79 | 93 | android:layout_height="wrap_content"
|
80 | 94 | android:indeterminate="true"
|
|
87 | 101 | android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
88 | 102 |
|
89 | 103 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
90 |
| - android:id="@+id/indeterminate_horizontal_progress_library" |
91 | 104 | android:layout_width="match_parent"
|
92 | 105 | android:layout_height="wrap_content"
|
93 | 106 | android:indeterminate="true"
|
94 | 107 | app:mpb_progressStyle="horizontal"
|
95 | 108 | style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal" />
|
96 | 109 |
|
| 110 | + <TextView |
| 111 | + android:text="@string/library_implementation_tinted" |
| 112 | + android:layout_width="match_parent" |
| 113 | + android:layout_height="wrap_content" |
| 114 | + android:textAppearance="@style/TextAppearance.AppCompat.Caption" /> |
| 115 | + |
| 116 | + <me.zhanghai.android.materialprogressbar.MaterialProgressBar |
| 117 | + android:layout_width="match_parent" |
| 118 | + android:layout_height="wrap_content" |
| 119 | + android:indeterminate="true" |
| 120 | + app:mpb_progressStyle="horizontal" |
| 121 | + app:mpb_indeterminateTint="@color/tint" |
| 122 | + style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal" /> |
| 123 | + |
97 | 124 | <!-- Indeterminate progress -->
|
98 | 125 |
|
99 | 126 | <TextView
|
|
113 | 140 | android:layout_height="wrap_content">
|
114 | 141 |
|
115 | 142 | <ProgressBar
|
116 |
| - android:id="@+id/indeterminate_progress_large_native" |
117 | 143 | android:layout_width="wrap_content"
|
118 | 144 | android:layout_height="wrap_content"
|
119 | 145 | android:layout_gravity="left|bottom"
|
120 | 146 | android:indeterminate="true"
|
121 | 147 | style="?android:progressBarStyleLarge" />
|
122 | 148 |
|
123 | 149 | <ProgressBar
|
124 |
| - android:id="@+id/indeterminate_progress_native" |
125 | 150 | android:layout_width="wrap_content"
|
126 | 151 | android:layout_height="wrap_content"
|
127 | 152 | android:layout_gravity="center_horizontal|bottom"
|
128 | 153 | android:indeterminate="true"
|
129 | 154 | style="?android:progressBarStyle" />
|
130 | 155 |
|
131 | 156 | <ProgressBar
|
132 |
| - android:id="@+id/indeterminate_progress_small_native" |
133 | 157 | android:layout_width="wrap_content"
|
134 | 158 | android:layout_height="wrap_content"
|
135 | 159 | android:layout_gravity="right|bottom"
|
|
148 | 172 | android:layout_height="wrap_content">
|
149 | 173 |
|
150 | 174 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
151 |
| - android:id="@+id/indeterminate_progress_large_library" |
152 | 175 | android:layout_width="wrap_content"
|
153 | 176 | android:layout_height="wrap_content"
|
154 | 177 | android:layout_gravity="left|bottom"
|
155 | 178 | android:indeterminate="true"
|
156 | 179 | style="@style/Widget.MaterialProgressBar.ProgressBar.Large" />
|
157 | 180 |
|
158 | 181 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
159 |
| - android:id="@+id/indeterminate_progress_library" |
160 | 182 | android:layout_width="wrap_content"
|
161 | 183 | android:layout_height="wrap_content"
|
162 | 184 | android:layout_gravity="center_horizontal|bottom"
|
163 | 185 | android:indeterminate="true"
|
164 | 186 | style="@style/Widget.MaterialProgressBar.ProgressBar" />
|
165 | 187 |
|
166 | 188 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
167 |
| - android:id="@+id/indeterminate_progress_small_library" |
168 | 189 | android:layout_width="wrap_content"
|
169 | 190 | android:layout_height="wrap_content"
|
170 | 191 | android:layout_gravity="right|bottom"
|
|
204 | 225 | </FrameLayout>
|
205 | 226 |
|
206 | 227 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
207 |
| - android:id="@+id/horizontal_progress_toolbar" |
208 | 228 | android:layout_width="match_parent"
|
209 | 229 | android:layout_height="wrap_content"
|
210 | 230 | android:layout_gravity="bottom"
|
|
240 | 260 | </FrameLayout>
|
241 | 261 |
|
242 | 262 | <me.zhanghai.android.materialprogressbar.MaterialProgressBar
|
243 |
| - android:id="@+id/indeterminate_horizontal_progress_toolbar" |
244 | 263 | android:layout_width="match_parent"
|
245 | 264 | android:layout_height="wrap_content"
|
246 | 265 | android:layout_gravity="bottom"
|
|
0 commit comments