11 Commits

Author SHA1 Message Date
Wenyu Zhang
b457b13005 Internal change.
PiperOrigin-RevId: 417635153
2021-12-21 09:32:05 -08:00
Jeff Verkoeyen
ec44b12ee9 Internal change
PiperOrigin-RevId: 394725753
2021-09-03 11:44:01 -07:00
Jeff Verkoeyen
c53f44398e Optimizing imports
PiperOrigin-RevId: 357185618
2021-02-12 07:29:28 -08:00
Wenyu Zhang
d40ec950c3 [Buttons] Apply centerVisibleArea to a FAB with default shape example to reproduce shapeGenerator not getting updated issue on FAB.
PiperOrigin-RevId: 340565344
2020-11-03 18:46:20 -08:00
Wenyu Zhang
7cdcc53b5b [MDC-iOS/FAB] Migrate deprecated visibleAreaInsets API to centerVisibleArea API in FAB typical example.
PiperOrigin-RevId: 340358708
2020-11-02 18:41:10 -08:00
Yarden Eitan
dee8934c69 [MDCButton] When visibleAreaInsets are set, don't allow additional setting of the shapeGenerator API directly.
Also add visibleAreaInset API to the FAB typical example now that the conflict between visibleAreaInsets and shapeGenerator is resolved.

PiperOrigin-RevId: 315233817
2020-06-08 02:05:07 -07:00
Wenyu Zhang
dfd5109f15 [FAB] Fix theme being applied to a wrong floating button in the example snapshot.
PiperOrigin-RevId: 312300844
2020-05-19 10:04:54 -07:00
Nobody
70716800b8 Internal change
PiperOrigin-RevId: 312085611
2020-05-18 16:41:12 +00:00
Jeff Verkoeyen
92254ea119 Rename all icons to an ic_<#name#> convention.
PiperOrigin-RevId: 308232277
2020-04-24 04:33:51 -07:00
Jeff Verkoeyen
4454d0be94 [Buttons] Use static storage for all local consts.
Two examples were using non-static storage for effectively static consts, causing the symbols to be available available across compilation units and resulting in linker errors when the symbols happen to collide across compilation units.

PiperOrigin-RevId: 305337107
2020-04-07 14:11:53 -07:00
Jeff Verkoeyen
3a157e1f43 [Buttons] Standardize all examples on the same <Component><Example>Example pattern.
PiperOrigin-RevId: 305332675
2020-04-07 13:53:57 -07:00