|
133 | 133 | android:layout_width="@dimen/dimen_40"
|
134 | 134 | android:layout_height="@dimen/dimen_40"
|
135 | 135 | android:layout_alignParentEnd="true"
|
136 |
| - android:layout_alignParentRight="true" |
137 |
| - android:layout_marginEnd="32dp" |
138 |
| - android:layout_marginRight="32dp"> |
| 136 | + android:layout_marginEnd="32dp"> |
139 | 137 |
|
140 |
| - <com.dinuscxj.progressbar.CircleProgressBar |
| 138 | + <com.google.android.material.progressindicator.CircularProgressIndicator |
| 139 | + android:id="@+id/images_uploaded_progressbar" |
141 | 140 | android:layout_width="@dimen/dimen_40"
|
142 | 141 | android:layout_height="@dimen/dimen_40"
|
143 |
| - android:layout_alignParentRight="true" |
144 |
| - android:layout_alignParentEnd="true" |
| 142 | + android:indeterminate="false" |
145 | 143 | android:layout_marginEnd="@dimen/large_gap"
|
146 |
| - android:layout_marginRight="@dimen/large_gap" |
147 |
| - android:id="@+id/images_uploaded_progressbar" |
148 |
| - android:progress="50" |
149 |
| - app:progress_text_size="@dimen/progressbar_text" |
150 |
| - app:progress_end_color="#8C8B98" |
151 |
| - app:progress_start_color="#3A3381" |
152 |
| - app:progress_stroke_width="@dimen/progressbar_stroke" |
153 |
| - app:progress_text_format_pattern="" |
154 |
| - android:visibility="gone" |
155 |
| - app:progress_text_color="@color/secondaryColor" |
156 |
| - app:style="solid_line" /> |
| 144 | + app:showAnimationBehavior="outward" |
| 145 | + app:indicatorColor="@color/primaryColor" |
| 146 | + app:indicatorSize="32dp" |
| 147 | + app:trackThickness="@dimen/progressbar_stroke" |
| 148 | + app:trackColor="#B7B6B6" |
| 149 | + android:visibility="gone"/> |
157 | 150 |
|
158 | 151 | <androidx.appcompat.widget.AppCompatTextView
|
159 | 152 | android:id="@+id/tv_uploaded_images"
|
|
228 | 221 | android:layout_marginStart="@dimen/activity_margin_horizontal"
|
229 | 222 | android:layout_below="@id/images_reverted_info"/>
|
230 | 223 |
|
231 |
| - <com.dinuscxj.progressbar.CircleProgressBar |
| 224 | + <FrameLayout |
232 | 225 | android:layout_width="@dimen/dimen_40"
|
233 | 226 | android:layout_height="@dimen/dimen_40"
|
234 |
| - android:layout_alignParentRight="true" |
235 | 227 | android:layout_alignParentEnd="true"
|
236 |
| - android:layout_marginRight="@dimen/large_gap" |
237 |
| - android:layout_marginEnd="@dimen/large_gap" |
238 |
| - android:progress="50" |
239 |
| - android:visibility="gone" |
240 |
| - android:id="@+id/image_reverts_progressbar" |
241 |
| - app:progress_end_color="#8C8B98" |
242 |
| - app:progress_start_color="#3A3381" |
243 |
| - app:progress_text_size="@dimen/progressbar_text" |
244 |
| - app:progress_stroke_width="@dimen/progressbar_stroke" |
245 |
| - app:progress_text_format_pattern="92%%" |
246 |
| - app:progress_text_color="@color/secondaryColor" |
247 |
| - app:style="solid_line" /> |
| 228 | + android:layout_marginEnd="32dp"> |
| 229 | + |
| 230 | + <com.google.android.material.progressindicator.CircularProgressIndicator |
| 231 | + android:id="@+id/image_reverts_progressbar" |
| 232 | + android:layout_width="@dimen/dimen_40" |
| 233 | + android:layout_height="@dimen/dimen_40" |
| 234 | + android:indeterminate="false" |
| 235 | + android:layout_marginEnd="@dimen/large_gap" |
| 236 | + app:showAnimationBehavior="outward" |
| 237 | + app:indicatorColor="@color/primaryColor" |
| 238 | + app:indicatorSize="32dp" |
| 239 | + app:trackThickness="@dimen/progressbar_stroke" |
| 240 | + app:trackColor="#B7B6B6" |
| 241 | + android:visibility="gone"/> |
248 | 242 |
|
| 243 | + <androidx.appcompat.widget.AppCompatTextView |
| 244 | + android:id="@+id/tv_reverted_images" |
| 245 | + android:layout_width="match_parent" |
| 246 | + android:layout_height="match_parent" |
| 247 | + android:padding="@dimen/progressbar_padding" |
| 248 | + android:gravity="center" |
| 249 | + android:maxLines="1" |
| 250 | + android:textColor="@color/secondaryColor" |
| 251 | + app:autoSizeMaxTextSize="@dimen/progressbar_text" |
| 252 | + app:autoSizeMinTextSize="2sp" |
| 253 | + app:autoSizeStepGranularity="1sp" |
| 254 | + app:autoSizeTextType="uniform" /> |
| 255 | + </FrameLayout> |
249 | 256 | </RelativeLayout>
|
250 | 257 |
|
251 | 258 | <RelativeLayout
|
|
295 | 302 | android:layout_width="@dimen/dimen_40"
|
296 | 303 | android:layout_height="@dimen/dimen_40"
|
297 | 304 | android:layout_alignParentEnd="true"
|
298 |
| - android:layout_alignParentRight="true" |
299 |
| - android:layout_marginEnd="32dp" |
300 |
| - android:layout_marginRight="32dp"> |
| 305 | + android:layout_marginEnd="32dp"> |
301 | 306 |
|
302 |
| - <com.dinuscxj.progressbar.CircleProgressBar |
| 307 | + <com.google.android.material.progressindicator.CircularProgressIndicator |
| 308 | + android:id="@+id/images_used_by_wiki_progress_bar" |
303 | 309 | android:layout_width="@dimen/dimen_40"
|
304 | 310 | android:layout_height="@dimen/dimen_40"
|
305 |
| - android:layout_alignParentRight="true" |
306 |
| - android:layout_alignParentEnd="true" |
307 |
| - android:layout_marginRight="@dimen/large_gap" |
| 311 | + android:indeterminate="false" |
308 | 312 | android:layout_marginEnd="@dimen/large_gap"
|
309 |
| - android:progress="50" |
310 |
| - app:progress_text_size="@dimen/progressbar_text" |
311 |
| - android:id="@+id/images_used_by_wiki_progress_bar" |
312 |
| - app:progress_end_color="#8C8B98" |
313 |
| - app:progress_start_color="#3A3381" |
314 |
| - app:progress_stroke_width="2.5dp" |
315 |
| - android:visibility="gone" |
316 |
| - app:progress_text_color="@color/secondaryColor" |
317 |
| - app:progress_text_format_pattern="" |
318 |
| - app:style="solid_line" /> |
| 313 | + app:showAnimationBehavior="outward" |
| 314 | + app:indicatorColor="@color/primaryColor" |
| 315 | + app:indicatorSize="32dp" |
| 316 | + app:trackThickness="@dimen/progressbar_stroke" |
| 317 | + app:trackColor="#B7B6B6" |
| 318 | + android:visibility="gone"/> |
319 | 319 |
|
320 | 320 | <androidx.appcompat.widget.AppCompatTextView
|
321 | 321 | android:id="@+id/tv_wiki_pb"
|
|
0 commit comments