dniz
833258417d
Add @RequiresApi(VERSION_CODES.LOLLIPOP) to overriden setElevation() methods
...
that call super.setElevation()
PiperOrigin-RevId: 239171863
2019-03-22 16:50:21 -04:00
afohrman
d6cb34970a
Support elevation overlays for BottomNavigationView.
...
PiperOrigin-RevId: 238729801
2019-03-22 16:17:46 -04:00
isabellekim
6c3b51022e
Adds itemRippleColor attribute to the BottomNavigationView as an alternative for itemBackground to support using ripples based on theme attributes pre-23. And update BottomNavigationView ripples to match TabLayout ripples.
...
PiperOrigin-RevId: 235237859
2019-02-24 14:37:45 -05:00
marianomartin
6a7b1b2ce2
Mutate background drawable before changing tint
...
PiperOrigin-RevId: 226181425
2018-12-21 11:25:39 -05:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
marianomartin
a083017520
Add backgroundTint support to BottomNav
...
PiperOrigin-RevId: 225384496
2018-12-21 10:41:14 -05:00
marianomartin
ba696b6984
Verify typography subsystem is complete for Bottom Navigation
...
PiperOrigin-RevId: 204798141
2018-07-17 18:09:19 -04:00
dniz
91196d1163
Add get/setItemBackground() Drawable methods to BottomNavigationView
...
PiperOrigin-RevId: 198911383
2018-06-04 10:50:40 -04:00
afohrman
7af4ff7ee9
Remove resource version of label visibility mode setter.
...
This method does not provide clear value to the user. I considered deprecating it, but since it was introduced in an alpha release, it can just be deleted.
PiperOrigin-RevId: 193966844
2018-04-30 11:57:08 -04:00
afohrman
2f2ba0ce3d
Add "enabled" suffix to itemHorizontalTranslation attribute name.
...
The suffix makes it clearer that the attribute is boolean.
This attribute was introduced in an alpha release, so it is fine to rename.
PiperOrigin-RevId: 193964290
2018-04-30 11:56:12 -04:00
afohrman
95ac4dacfe
Remove resource version of setItemHorizontalTranslation.
...
A resource version for this method does not provide much value to the user.
PiperOrigin-RevId: 193962413
2018-04-30 11:54:52 -04:00
afohrman
785b44a688
Change default itemIconSize for bottom nav.
...
Update default icon size from 0dp to 24dp. 24dp is a more reasonable default to be used in cases where itemIconSize is not set in the theme or style provided.
PiperOrigin-RevId: 193675565
2018-04-30 11:36:15 -04:00
afohrman
fcbc5b560f
Change itemIconSize to use pixels instead of dp.
...
PiperOrigin-RevId: 193513323
2018-04-30 11:33:42 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00