isabellekim
e8cb537a6e
Update color state lists for bottom navigation items to match specs.
...
PiperOrigin-RevId: 217318149
2018-10-28 18:13:08 -04:00
isabellekim
fdbf02569b
Ensures that bottom navigation item background Drawables don't share the same constant state.
...
PiperOrigin-RevId: 216355891
2018-10-11 18:13:32 -04:00
marianomartin
1536adecf2
Fix color subsystem for Bottom Navigation
...
PiperOrigin-RevId: 210544385
2018-08-28 16:42:21 -04:00
marianomartin
7e3ec00320
Fix broken gradle build because of duplicated attr
...
PiperOrigin-RevId: 209415765
2018-08-20 11:33:06 -04:00
marianomartin
ba696b6984
Verify typography subsystem is complete for Bottom Navigation
...
PiperOrigin-RevId: 204798141
2018-07-17 18:09:19 -04:00
afohrman
5b2d4d667a
Allow bottom nav items to gain focus on keyboard traversal.
...
Set the bottom nav items to always be focusable. This addresses a bug in which bottom nav items didn't gain focus by keyboard pre-O.
PiperOrigin-RevId: 204518309
2018-07-17 18:08:53 -04:00
dniz
91196d1163
Add get/setItemBackground() Drawable methods to BottomNavigationView
...
PiperOrigin-RevId: 198911383
2018-06-04 10:50:40 -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
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
Material Design Team
b3c9024218
[a11y] Set the content description of BottomNavigation navigation items explicitly, instead of relying on the label text.
...
PiperOrigin-RevId: 193724313
2018-04-30 11:36:37 -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