37 Commits

Author SHA1 Message Date
rightnao
9db041cc52 [ExtendedFloatingActionButton] Update extend/shrink motion spec
PiperOrigin-RevId: 468201647
2022-08-17 14:58:55 -04:00
pekingme
2719859ec8 [Tokens][exFAB] Integrate component tokens.
PiperOrigin-RevId: 459541412
2022-07-07 12:31:46 -07:00
pekingme
5ff3930833 [FAB][Cleanup] Reorder styles.
PiperOrigin-RevId: 458305149
2022-07-06 04:57:47 -07:00
pekingme
65a3ac555a Automated g4 rollback of changelist 457648699
PiperOrigin-RevId: 458256849
2022-07-06 04:53:45 -07:00
Material Design Team
7e9045b8b7 Automated g4 rollback of changelist 457576897
PiperOrigin-RevId: 457648699
2022-06-29 13:40:35 +00:00
pekingme
ac5c4df3ae [Tokens][FAB] Integrate component tokens.
PiperOrigin-RevId: 457576897
2022-06-27 23:30:10 +00:00
hunterstich
5c0003ca81 [ExtendedFloatingActionButton] Updated show and hide motion specs to use motion tokens.
Resolves https://github.com/material-components/material-components-android/issues/2086

PiperOrigin-RevId: 453457969
2022-06-07 18:51:11 -07:00
pekingme
25482b1425 [FAB] Migrated "regular/default" sized styles to new shape system.
PiperOrigin-RevId: 452817382
2022-06-03 15:49:33 -07:00
pekingme
3db2109311 [ExFAB] Migrated to new shape system.
PiperOrigin-RevId: 450741383
2022-05-25 15:16:34 -04:00
pekingme
30bb583f20 [FAB] Migrated "Large" styles to use new shape system.
PiperOrigin-RevId: 450021484
2022-05-23 11:18:39 -04:00
pekingme
acc75697ea [FAB] Added "Small" styles with new shape system.
PiperOrigin-RevId: 450003295
2022-05-23 11:13:49 -04:00
jeremymuhia
054f1dba1e [M3][FAB] add tertiary FAB color variant
PiperOrigin-RevId: 395721687
2021-09-15 12:22:52 -07:00
jeremymuhia
ca8f4cbb80 [M3][Large FAB] create M3 styles for large FAB
PiperOrigin-RevId: 392701548
2021-08-24 15:55:38 -04:00
jeremymuhia
6ba1a9206f [M3][eFAB] create M3 styles for extended FAB
PiperOrigin-RevId: 392502584
2021-08-24 15:42:13 -04:00
jeremymuhia
b06977b5db [M3][FAB] create M3 styles for regular FAB
PiperOrigin-RevId: 392072670
2021-08-23 09:45:13 -07:00
hunterstich
b4cca5b8a4 [FAB] Update FAB to use motion theming for show/hide animation.
PiperOrigin-RevId: 368831990
2021-04-16 18:03:35 -04:00
Mattia Pagini
14c70f0b11 [ExtendedFloatingActionButton] Fix padding and spacing
Resolves https://github.com/material-components/material-components-android/pull/1655

GIT_ORIGIN_REV_ID=739773c36195062d498c741f4030a289e0b5d946
PiperOrigin-RevId: 334532552
2020-09-30 16:59:03 -04:00
haodong
bd731f486a [ExtendedFloatingActionButton] Added support to configure different size when collapsed.
PiperOrigin-RevId: 334209576
2020-09-29 09:17:35 -07:00
hunterstich
7d3cb73ca7 [ExtendedFloatingActionButton] Improved text label expand/collapse animation
PiperOrigin-RevId: 331166249
2020-09-11 14:51:59 -04:00
marianomartin
61e927ed5a [ExtendedFloatingActionButton] Fixed ripple issue
Resolves https://github.com/material-components/material-components-android/issues/1359

PiperOrigin-RevId: 319038380
2020-06-30 16:07:02 -04:00
marianomartin
56e4c61057 Remove obsolete TODO from Extended Floating Action Button style
PiperOrigin-RevId: 294680868
2020-02-13 10:22:40 -05:00
Nick Rout
94cd734a51 [FloatingActionButton] Add support for enabled/disabled state
Resolves https://github.com/material-components/material-components-android/pull/783

GIT_ORIGIN_REV_ID=76d076366145fbaa9ca01af6a6d182491d9a4659
PiperOrigin-RevId: 289017230
2020-01-10 09:08:55 -08:00
Seanghay
63c71bd2cb [FloatingActionButton] Add reference format to attributes
Resolves https://github.com/material-components/material-components-android/pull/878

GIT_ORIGIN_REV_ID=844441afe2f0ffd43930d61cc604edaaf43a18b9
PiperOrigin-RevId: 288752495
2020-01-08 14:10:11 -08:00
cketcham
a130a0c3e0 Add support for percentages to ShapeAppearanceModel
PiperOrigin-RevId: 272946740
2019-10-04 16:33:47 -04:00
marianomartin
58d2085032 Refactor extended Fab and add test for behavior
PiperOrigin-RevId: 260841260
2019-08-02 15:34:16 -04:00
isabellekim
eb1324d475 Update FAB to use the specified rippleColor instead of creating a CSL based solely on the pressed state's color.
PiperOrigin-RevId: 260802204
2019-08-02 15:11:16 -04:00
gauthams
163c0ed3f5 Update ExtendedFAB to support setting corner radius via shape appearance
PiperOrigin-RevId: 243677036
2019-04-19 21:07:37 -04:00
gauthams
abbec48ce6 Add MotionSpec support to ExtendedFloatingActionButton
PiperOrigin-RevId: 239682035
2019-03-22 17:04:12 -04:00
marianomartin
05bc55723a Add a way to disable min touch target size in fab
PiperOrigin-RevId: 239395098
2019-03-22 17:00:43 -04:00
marianomartin
fd4d66227d Remove background from MaterialComponents Fab style
PiperOrigin-RevId: 235983820
2019-03-08 09:41:58 -05:00
Material Design Team
63d11da7e5 Extended FAB.
Implementation of an ExtendedFloatingActionButton which extends from a MaterialButton.

PiperOrigin-RevId: 231682739
2019-02-11 11:04:14 -08:00
dniz
4f75ec6daa Update FAB to respond to themed cornerFamily
- Remove hardcoded "rounded" corner family from FAB shapeAppearanceOverlay
- Remove BottomAppBar shape toggle override from demo (now that we have a
global switcher)
- Update BottomAppBar demo to base top edge on FAB shape appearance

PiperOrigin-RevId: 229971238
2019-01-22 17:03:27 -05:00
marianomartin
215bb6e294 Increase touch target of fab to min 48dp
PiperOrigin-RevId: 220311577
2018-11-16 10:51:48 -05:00
marianomartin
e94e2d35fe Support shape theming in fab
PiperOrigin-RevId: 219812144
2018-11-16 10:38:43 -05:00
melaniegoetz
4bca4ec9e2 set mtrl_fab_ripple_color to use colorOnSecondary rather than color:white
PiperOrigin-RevId: 214028313
2018-09-28 16:15:46 -04:00
melaniegoetz
8f02385c84 Color subsystem updates for MDC-FAB
PiperOrigin-RevId: 212311827
2018-09-14 10:53:01 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00