conradchen
ea12f84f2b
[FAB] Fix the issue that state-list animator cannot be customized
...
Before this CL we always reset the state-list animator when FAB elevation changes, i.e., any state-list animators set via XML will be overridden because elevation is set later. Fixes this by storing the default state-list animator created in onElevationsChanged() and check if it's been overridden before we update and reset it.
Resolves https://github.com/material-components/material-components-android/issues/1218
PiperOrigin-RevId: 452073249
2022-05-31 13:48:53 -07:00
marianomartin
555356b03f
Internal cleanup
...
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
073382034a
Migrate android.support.v4.content.ContextCompat to androidx
...
Android X migration
PiperOrigin-RevId: 315791679
2020-06-11 17:27:51 -07:00
cketcham
a130a0c3e0
Add support for percentages to ShapeAppearanceModel
...
PiperOrigin-RevId: 272946740
2019-10-04 16:33:47 -04:00
marianomartin
215a839598
Internal cleanup
...
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
cketcham
0ad01010b9
Add @NonNull and @Nullable annotations
...
PiperOrigin-RevId: 266817244
2019-09-04 18:03:53 -04:00
cketcham
1f1871f634
Update usages of ShapeAppearanceModel to use Builder pattern
...
PiperOrigin-RevId: 266133670
2019-08-29 15:37:04 -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
marianomartin
53e4e9cca8
Internal cleanup
...
PiperOrigin-RevId: 253624674
2019-06-18 13:43:33 -04:00
marianomartin
455ba2557b
Internal cleanup
...
PiperOrigin-RevId: 249490219
2019-05-24 14:22:06 -04:00
marianomartin
0f0921dbd1
Fix ripple in Fab Minis
...
PiperOrigin-RevId: 246370664
2019-05-03 11:01:54 -04:00
raajkumars
3f43a2aa3e
Updated FloatingActionButton to support dark theme elevation overlays.
...
PiperOrigin-RevId: 239611087
2019-03-22 17:03:35 -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
fd01672af5
Fix nullness in FAB
...
PiperOrigin-RevId: 238990635
2019-03-22 16:21:40 -04:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -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
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
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00