35 Commits

Author SHA1 Message Date
marianomartin
fd4d66227d Remove background from MaterialComponents Fab style
PiperOrigin-RevId: 235983820
2019-03-08 09:41:58 -05:00
cketcham
76727ecc84 Add documentation to addTransformationListener() and removeTransformationListener()
PiperOrigin-RevId: 234174194
2019-02-24 14:16:07 -05:00
gauthams
75db2150a8 Add shadow to MaterialButton below API 21
PiperOrigin-RevId: 232737347
2019-02-11 11:17:08 -08: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
dniz
11df79f95c Clean up Gradle build shorthands for appcompat/androidx libraries
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
dniz
a4964594a1 Add MaterialShapeDrawable setElevation(float) and deprecate setShadowElevation(int)
PiperOrigin-RevId: 228572421
2019-01-10 17:16:43 -05:00
marianomartin
5ef4727d84 Only use BorderDrawable in fab for Rounded Rects
PiperOrigin-RevId: 228350250
2019-01-10 16:48:03 -05:00
marianomartin
055a791ae2 Support materialThemeOverlay on FloatingActionButton
PiperOrigin-RevId: 225857520
2018-12-21 11:09:03 -05:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
marianomartin
55cfdb0480 Invalidate BorderDrawable when changing shapeAppearance
PiperOrigin-RevId: 224826056
2018-12-12 16:21:08 -05:00
marianomartin
9837721733 Replace circular border drawable with a drawable for any shape.
PiperOrigin-RevId: 224205053
2018-12-06 12:05:36 -05:00
marianomartin
415e6ea003 Add a cut corners top edge treatment in the BAB demo
PiperOrigin-RevId: 222071849
2018-11-26 07:55:59 -05:00
connieshi
4eb0f121a9 Add build.gradle dependency on shapes to the floating action button module.
PiperOrigin-RevId: 221796687
2018-11-16 12:22:57 -05:00
marianomartin
2fdb73de6e Override setVisibility so it's not restricted
PiperOrigin-RevId: 220838067
2018-11-16 11:11:52 -05:00
marianomartin
47fc285f6f Support shape theming in FAB Api 19 and lower
PiperOrigin-RevId: 220806554
2018-11-16 11:10:42 -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
marianomartin
9e36c150c0 Fix most javadocs errors
PiperOrigin-RevId: 216697274
2018-10-11 18:24:53 -04:00
marianomartin
1d4882c6ac Use drawable color filter if it has one instead of overriding it
PiperOrigin-RevId: 215398208
2018-10-02 14:56:52 -04:00
marianomartin
7b0cc53898 Fix FloatingActionButton not tinting on kitkat
PiperOrigin-RevId: 215375598
2018-10-02 14:55:47 -04: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
cketcham
d6e4991e78 Fix default FAB animation for BottomAppBar
PiperOrigin-RevId: 210920372
2018-08-31 11:13:24 -04:00
cketcham
71f5ea1415 Add alternate animations for BottomAppBar mode changes
PiperOrigin-RevId: 210096177
2018-08-28 16:40:25 -04:00
cketcham
9820f85843 Fix bug caused by not resetting imageMatrixScale in FloatingActionButton
PiperOrigin-RevId: 209995243
2018-08-28 16:38:12 -04:00
cketcham
18be1b73af Modify BottomAppBar to react to the transformations of the FloatingActionButton
PiperOrigin-RevId: 209988651
2018-08-28 16:37:42 -04:00
Material Design Team
7a2b5f0cd7 Automated g4 rollback of changelist 209640439
PiperOrigin-RevId: 209705959
2018-08-28 16:34:03 -04:00
cketcham
148ca998fe Modify BottomAppBar to react to the transformations of the FloatingActionButton
PiperOrigin-RevId: 209640439
2018-08-28 16:33:22 -04:00
cketcham
d1e9dd6427 Fix method name referenced in comment
PiperOrigin-RevId: 206206294
2018-08-02 18:00:12 -07:00
dniz
ad573c764b Clarify sizing for FloatingActionButton
PiperOrigin-RevId: 198914008
2018-06-04 10:51:12 -04:00
afohrman
0518a3d651 Add missing public attributes.
Looks like some styles and component style attributes slipped by.

PiperOrigin-RevId: 198762794
2018-05-31 16:35:29 -04:00
marianomartin
663fd7abff add res-public files
PiperOrigin-RevId: 198567215
2018-05-30 17:42:48 -04:00
marianomartin
cfc5fdbb81 Fix bottom app bar cutout not showing when the fab isn't measured.
PiperOrigin-RevId: 194818259
2018-04-30 15:13:06 -04:00
dniz
9ca33544ac Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00