8 Commits

Author SHA1 Message Date
Mattia
924ac3fe85 [ProgressIndicator] Add new minHideDelay property
Resolves https://github.com/material-components/material-components-android/pull/1411
Resolves https://github.com/material-components/material-components-android/issues/1382

GIT_ORIGIN_REV_ID=46d32f9bbb8d0f4c4ba8c7ec36b0a5d0cb61f0ae

Co-authored-by: pekingme <pekingme@gmail.com>
PiperOrigin-RevId: 317108572
2020-06-18 13:23:25 -04:00
haodong
5febeba67e [ProgressIndicator] Added auto-cap to limit the indicator corner radius equal to or less than half of the indicator width.
PiperOrigin-RevId: 316531091
2020-06-15 23:58:11 -07:00
haodong
48c4ef019c [ProgressIndicator] Added support of rounded corners.
- Added attribute cornerRadius.
- Added rounded corner support for linear determinate and indeterminate (non-seamless) mode.
- Added rounded corner support for circular determinate and indeterminate mode.
- Added screenshot tests.
- Modified show cases in Catalog to demo this feature.

PiperOrigin-RevId: 316400672
2020-06-15 23:54:35 -07:00
Mattia
584d72555a [ProgressIndicator] Fix for non dismissable progress indicator
Resolves https://github.com/material-components/material-components-android/pull/1391

GIT_ORIGIN_REV_ID=e657fa9409d1e16481f2383ddaa00942c874b8a2
PiperOrigin-RevId: 316209739
2020-06-15 23:52:06 -07:00
marianomartin
63119cfa94 Fix potential NPE when progress indicators change visibility during initialization
PiperOrigin-RevId: 313826176
2020-06-01 16:45:21 -04:00
marianomartin
1303e400c1 Change Progress indicator to only show if they are already visible
PiperOrigin-RevId: 313327751
2020-05-27 13:48:38 -04:00
marianomartin
4db3fef49d Change progress indicator trackColor to correctly calculate default alpha
PiperOrigin-RevId: 309824054
2020-05-07 09:39:42 -04:00
marianomartin
cc88816b82 [ProgressIndicator] initial commit
ORIGINAL_AUTHOR=pekingme
PiperOrigin-RevId: 306469609
2020-04-14 22:11:45 -04:00