Nobody
59495ab924
Add explicit imports for CoreGraphics in files which use it.
...
PiperOrigin-RevId: 642080231
2024-06-10 17:48:33 -07:00
David Collazo
d8c1e9ac5c
Change progressTintColors array to generic <UIColor *>.
...
PiperOrigin-RevId: 481663653
2022-10-17 09:44:11 -07:00
Alyssa Weiss
fdb53be95e
Add snapshot and unit tests.
...
PiperOrigin-RevId: 355626654
2021-02-04 08:02:03 -08:00
Wenyu Zhang
9c480c21a4
[ProgressView] Add support for gradient progress bar.
...
PiperOrigin-RevId: 310977753
2020-05-12 15:11:46 -04:00
featherless
63bb1a8c9f
[ProgressView] Add cornerRadius API. ( #7417 )
...
This new API enables clients to customize the corner radius of the filled portion of the progress view. Clients have requested this functionality via https://github.com/material-components/material-components-ios/issues/5429 .
Example usage to create a "rounded progress pill" effect:
```objc
progressView.cornerRadius = CGRectGetHeight(progressView.bounds) / 2;
```
This feature request was requested by client team in service to their brand requirements.
This PR adds an example that demonstrates the new behavior. See the associated snapshot tests for a complete suite of screenshots of the new behavior.
## Screenshots

Closes https://github.com/material-components/material-components-ios/issues/5429
2019-09-16 09:58:13 -04:00
Robert Moore
8dcf1e4a56
[*] Remove RTL snapshot method overrides. ( #7996 )
...
With #7986 , most snapshot tests began overriding a method that had nearly the
same behavior.
2019-07-22 21:11:17 -07:00
featherless
9664fce4b3
[ProgressView] Add cornerRadius snapshot tests. ( #7416 )
...
These tests are pre-work for adding support for customizing the corner radius of the filled portion of the progress bar. As-is, these tests demonstrate that customizing the MDCProgressView layer's cornerRadius only affects the outer radius of the progress view and not the filled portion of the progress view.
Part of https://github.com/material-components/material-components-ios/issues/5429
2019-05-20 08:49:14 -04:00
Robert Moore
018e72e3cf
[ProgressView] Add basic Snapshot tests. ( #6825 )
...
Adding Snapshot tests for different progress amounts in LTR and RTL.
Closes #6808
2019-03-11 21:36:33 -04:00