melaniegoetz
69eebe785f
TabLayout functionality to set label visibility
...
PiperOrigin-RevId: 213554775
2018-09-28 14:54:44 -04:00
gauthams
74aaace931
Update legacy TabLayout style to set tabTextColor to @null, so that it uses textColor from tabTextAppearance.
...
PiperOrigin-RevId: 210592264
2018-08-28 16:45:27 -04:00
gauthams
14e9a020a1
Update TabLayout to use new color attributes
...
PiperOrigin-RevId: 210553777
2018-08-28 16:42:54 -04:00
gauthams
460c226fdf
Fix bug in TabLayout where TabViews initialized to unselected would not have unselected state.
...
Essentially, the issue is that when "selected" tabs were added to a TabLayout, we were calling tab.select() which updated the state of the selected tab to selected, and sets all other tabs to unselected. HOWEVER, when an "unselected" tab is added, we never call tab.select(), so the unselected tab's state never gets updated until a tab is clicked manually. The default state of tabs is "selected", so unselected tabs appeared selected.
PiperOrigin-RevId: 209622793
2018-08-28 16:32:34 -04:00
gauthams
65e33f20af
Clarify documentation for TabLayout's GRAVITY_FILL behavior to specify that it does not take effect on screens wider than 600dp.
...
PiperOrigin-RevId: 209524721
2018-08-28 16:30:27 -04:00
gauthams
8cbde4c219
Update tabs to use type scale attributes, and enforce textAppearance check
...
PiperOrigin-RevId: 202501993
2018-07-02 09:46:58 -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
gauthams
cfe88cad74
Fix a long-standing selection bug in TabLayout, where an OnTabSelectedListener onTabUnselected() method would interpret the now-unselected tab as still being selected, resulting in broken behavior where an unselected tab was still being displayed as selected.
...
PiperOrigin-RevId: 197806355
2018-05-30 17:30:18 -04:00
Material Design Team
b07bcdeefd
[a11y] Set the content description of the entire TabView, rather than just on the icon or the TextView. Use the text as the content description if the content description property hasn't been set.
...
PiperOrigin-RevId: 193727801
2018-04-30 11:37:02 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00