Jeff Verkoeyen
1abdf16760
Optimizing imports
...
PiperOrigin-RevId: 357185990
2021-02-12 07:36:41 -08:00
Wenyu Zhang
8bd8b295e2
[Banner] Add contentEdgeInsets support to replace layoutMargins usage in sizeThatFits:.
...
PiperOrigin-RevId: 348862556
2020-12-23 16:29:52 -08:00
Wenyu Zhang
22020cdccf
[Banner] Remove AppBar example snapshot tests because the animation involved causes flakiness.
...
PiperOrigin-RevId: 324623184
2020-08-03 09:55:38 -07:00
Wenyu Zhang
0f8c5f7f3c
[Banner] Add setUp and tearDown to AppBarBannerExample to avoid flaky testing result.
...
PiperOrigin-RevId: 324601984
2020-08-03 07:47:05 -07:00
Ingerid Fosli
1b69ff6f39
Update sizeThatFits calculation to include layout margins in the height calculation and ensure entire leading button can be clicked when trailing button is hidden, by constraining the buttonContainerView to always be at least as tall as the leading button.
...
Note: With the update in the height calculation, the additional constraint seems to have no effect, and the banner's layout is correct either way. I prefer to keep it, however, as it'll ensure we don't get the same "button cannot be clicked" error in the future, at least not without breaking constraints. Happy to reconsider this, though!
PiperOrigin-RevId: 321214409
2020-07-14 12:48:44 -07:00
Nobody
70716800b8
Internal change
...
PiperOrigin-RevId: 312085611
2020-05-18 16:41:12 +00:00
Jeff Verkoeyen
a9512e0dba
[Banner] Add snapshot test hooks to the examples.
...
PiperOrigin-RevId: 308163954
2020-04-23 17:32:40 -07:00
Robert Moore
8eb7296dab
[Catalog] Fix container scheme properties. ( #9192 )
...
Making remaining examples use protocol for container schemes to match the
project's expected convention.
Found while reviewing #9188
2019-12-09 10:48:25 -05:00
Wenyu Zhang
0fcef85a44
[Banner] Post accessibility notification when Banner shows on the screen in examples. ( #9111 )
...
closes https://github.com/material-components/material-components-ios/issues/9079 .
2019-12-05 12:00:51 -05:00
Wenyu Zhang
070865bfa4
[Banner] Add an example to show how Banner can be used as bottom bar in AppBar. ( #8785 )
...
Closes https://github.com/material-components/material-components-ios/issues/8677 .
This PR adds an example to show how Banner could be used as a bottomBar in AppBar.
|Screenshot|
|-----|
||
2019-11-12 21:19:06 -05:00