31 Commits

Author SHA1 Message Date
dsn5ft
0697f6fe89 [Gradle] Enable non transitive R classes (resource namespacing) and fix errors
PiperOrigin-RevId: 738871402
2025-03-20 18:34:33 +00:00
conradchen
a9faa18a3e [M3][Switch] Update switch dev doc with M3 themes/styles
PiperOrigin-RevId: 395472516
2021-09-08 11:11:13 -04:00
conradchen
4e0d5b018c [M3][Checkbox] Create M3 styles
PiperOrigin-RevId: 392760639
2021-08-25 14:55:54 -04:00
conradchen
906fb2d6d5 [M3][Switch] Create M3 styles
PiperOrigin-RevId: 392441384
2021-08-23 10:09:01 -07:00
haodong
8bba732aaa Automated g4 rollback of changelist 328982034
PiperOrigin-RevId: 329810012
2020-09-09 11:23:29 -04:00
haodong
395c2cda63 [ProgressIndicator] Removed custom drawing support to minimize API exposure.
PiperOrigin-RevId: 329001093
2020-08-28 18:07:25 -04:00
haodong
d615d2ac37 [SwitchMaterial] Added processing status.
PiperOrigin-RevId: 328982034
2020-08-28 18:05:07 -04:00
marianomartin
049ad022a6 Delete components build.gradle files
PiperOrigin-RevId: 320944144
2020-07-15 09:38:31 -07:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
marianomartin
115313c0c0 Expose a class for themeoverlay in style
This moves functionality from ThemeEnforcement into a stand alone class.

Resolves https://github.com/material-components/material-components-android/issues/665

PiperOrigin-RevId: 275481343
2019-10-21 10:24:19 -04:00
marianomartin
f5c9026efa Internal cleanup
PiperOrigin-RevId: 265550877
2019-08-29 11:39:58 -04:00
cketcham
9fff60d21d Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264824214
2019-08-26 11:26:20 -04:00
dniz
0512f776c5 Remove sub-package AndroidManifest.xml files from lib directory
PiperOrigin-RevId: 258390736
2019-07-16 13:18:32 -04:00
marianomartin
164bf0fabd Internal cleanup
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
dniz
5df3bebd63 Update elevation overlays to be based absolute elevation, factoring in the elevation of all parent views
Will follow-up with TabLayout absolute elevation separately

Resolves https://github.com/material-components/material-components-android/issues/381

PiperOrigin-RevId: 255404830
2019-07-03 13:55:49 -04:00
dniz
106085a62f Update selection controls (MaterialCheckBox, MaterialRadioButton, SwitchMaterial) to apply material colors in onAttachedToWindow() instead of constructor
PiperOrigin-RevId: 254818917
2019-06-24 17:32:13 -04:00
dniz
6783f9e1cd Clean up naming of elevation overlay methods and attributes
PiperOrigin-RevId: 253283047
2019-06-18 13:34:29 -04:00
marianomartin
90837ec485 Internal cleanup
PiperOrigin-RevId: 249243403
2019-05-21 12:15:07 -04:00
leticiars
f0c4e8bf0f Updating Switch to support elevation overlays.
PiperOrigin-RevId: 238537080
2019-03-22 16:12:22 -04:00
isabellekim
3e6219ceb2 Rolling forward using colorControlActivated instead of colorSecondary for the activated color of MaterialCheckbox, MaterialRadioButton, and SwitchMaterial.
By default, colorControlActivated is set to colorAccent. Non-bridge themes set colorAccent to colorSecondary.

PiperOrigin-RevId: 235041384
2019-02-24 14:31:35 -05:00
isabellekim
8ffff9c658 Automated g4 rollback of changelist 234987118
PiperOrigin-RevId: 235019920
2019-02-24 14:29:13 -05:00
isabellekim
7b79678f9b Use colorControlActivated instead of colorSecondary for the activated color of MaterialCheckbox, MaterialRadioButton, and SwitchMaterial.
By default, colorControlActivated is set to colorAccent. Non-bridge themes set colorAccent to colorSecondary.

PiperOrigin-RevId: 234987118
2019-02-24 14:27:59 -05:00
dniz
11df79f95c Clean up Gradle build shorthands for appcompat/androidx libraries
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
ldjesper
831ad7dde7 a11y for selection control touch targets
PiperOrigin-RevId: 222898711
2018-12-06 11:24:17 -05:00
ldjesper
1b5469c742 Allows programmatic changes to useMaterialThemeColors for selection controls
PiperOrigin-RevId: 222847032
2018-12-06 11:22:54 -05:00
isabellekim
de6c9a071d Support materialThemeOverlay for SwitchMaterial.
PiperOrigin-RevId: 221317700
2018-11-16 11:35:00 -05:00
ldjesper
9cbfddc61b Add attributes to disable Material Theme Colors for Selection Controls
These attributes are necessary for custom drawables.

PiperOrigin-RevId: 214969700
2018-09-28 17:03:18 -04:00
ldjesper
3219f7dc3e Standardize Selection Controls across API versions and maintain XML configs
PiperOrigin-RevId: 212510051
2018-09-14 10:57:21 -04:00
Material Design Team
a5d38d43d6 Changes SwitchMaterial coloring to composites instead of blends.
Also provides color layering utilities and removes text color changes.

PiperOrigin-RevId: 211692944
2018-09-07 11:55:28 -04:00
Material Design Team
56ee534de2 Creates and colors SwitchMaterial
PiperOrigin-RevId: 210574240
2018-08-28 16:44:02 -04:00