Material Design Team
1febcf94b1
Automated g4 rollback of changelist 292560239
...
PiperOrigin-RevId: 292606404
2020-01-31 16:53:08 -05:00
Material Design Team
811ea17e60
Add roleDescriptions to tabs for accessibility
...
PiperOrigin-RevId: 292560239
2020-01-31 13:38:39 -05:00
connieshi
a15d3ea219
Update TabLayout so it takes into account TabGravity in MODE_SCROLLABLE.
...
Add TabGravity.GRAVITY_START to maintain existing (default) MODE_SCROLLABLE behavior.
MODE_SCROLLABLE currently supports GRAVITY_CENTER and GRAVITY_START
MODE_FIXED does not support GRAVITY_START.
PiperOrigin-RevId: 289910847
2020-01-15 14:25:50 -08:00
dniz
37534561f2
Add component styles that swap between primary and surface styles depending on light vs dark theme
...
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application
PiperOrigin-RevId: 256208965
2019-07-03 14:11:49 -04:00
Material Design Team
2f3e1c4cf4
Add new MODE_AUTO setting for TabLayout. MODE_AUTO behaves like MODE_FIXED with GRAVITY_CENTER while the tabs fit in the content view. Once the tabs expand beyond the TabLayout width, the TabLayout behaves as MODE_SCROLLABLE.
...
PiperOrigin-RevId: 243852684
2019-04-19 21:21:27 -04:00
melaniegoetz
c7ca91c338
Remove TextAppearance.MaterialComponents.Tab
...
PiperOrigin-RevId: 216426993
2018-10-11 18:17:08 -04:00
melaniegoetz
172dd213de
Automated g4 rollback of changelist 215959602
...
PiperOrigin-RevId: 215986589
2018-10-11 18:12:20 -04:00
melaniegoetz
db507b1048
Remove TextAppearance.MaterialComponents.Tab
...
PiperOrigin-RevId: 215959602
2018-10-11 18:11:17 -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
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
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00