34 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
pubiqq
bc2fdeadaf [Internal] Prefer platform methods to compat ones
Resolves https://github.com/material-components/material-components-android/pull/4532

GIT_ORIGIN_REV_ID=180dec736f2521579e483317a4d537629d8f247b
PiperOrigin-RevId: 715494344
2025-01-15 18:06:07 +00:00
pubiqq
510881a469 [Internal] Stop using deprecated androidx.core.view.* methods
Resolves https://github.com/material-components/material-components-android/pull/4117

GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
Ga\u00ebtan Muller
b3fe6a7f61 [Cleanup] Remove redundant version checks for api <= 19.
Resolves https://github.com/material-components/material-components-android/pull/3849

GIT_ORIGIN_REV_ID=47bb2fcc8031740e5a7d4f741f1ada2af025e126
PiperOrigin-RevId: 632154861
2024-05-09 18:46:02 +00:00
rightnao
e3b255b3a0 [Docs] Crosslink github docs in javadocs
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
pekingme
77cdc1e3ac [Dialog] Made dialog background color configurable in XML styles.
PiperOrigin-RevId: 523436908
2023-04-12 07:38:27 -07:00
Material Design Team
0a4e419242 Automated g4 rollback of changelist 522443049
PiperOrigin-RevId: 523143316
2023-04-11 19:57:22 -07:00
pekingme
303fabd331 [Dialog] Made dialog background color configurable in XML styles.
PiperOrigin-RevId: 522443049
2023-04-10 14:57:51 +00:00
Material Design Team
44cc9b745c Add @CanIgnoreReturnValue to some APIs that return this.
PiperOrigin-RevId: 468721442
2022-08-22 15:22:27 -04:00
Material Design Team
a487c89185 Internal change
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
Material Design Team
cbf7bcad59 Internal change
PiperOrigin-RevId: 386513223
2021-07-28 14:29:52 -04:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
b9428363d7 Add nullness annotations to input parameters
PiperOrigin-RevId: 301697159
2020-03-24 11:31:35 -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
ldjesper
294f12498d Rename setCornerRadius to setAllCornerSizes
PiperOrigin-RevId: 272959729
2019-10-04 20:08:43 -04:00
marianomartin
215a839598 Internal cleanup
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
marianomartin
0d4515cb46 Internal cleanup
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
cketcham
78f945776a Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 265057424
2019-08-29 11:08:56 -04:00
ldjesper
39f4a36d0b Remove Abstract Calendar Pickers in favor of options
PiperOrigin-RevId: 256402016
2019-07-03 14:16:01 -04:00
marianomartin
90837ec485 Internal cleanup
PiperOrigin-RevId: 249243403
2019-05-21 12:15:07 -04:00
ldjesper
59070cc111 Simplified the redundant naming of MaterialAttributes static methods.
Added default values for non-throw cases.
Avoid returning TypedValue to simplify code using the helper methods.

PiperOrigin-RevId: 244007695
2019-04-19 21:27:28 -04:00
ldjesper
a94152a475 Change GM Dialog elevation to 6dp (which improves text contrast) and correct theme loading order such that materialAlertDialogTheme correctly overrides attributes in alertDialogTheme.
PiperOrigin-RevId: 243708330
2019-04-19 21:09:36 -04:00
ldjesper
d75c00043d Use ViewCompat for getElevation for MaterialAlertDialogBuilder
PiperOrigin-RevId: 238543065
2019-03-22 16:14:19 -04:00
ldjesper
19b696015a Apply Elevation Overlay for Dark Theme Dialogs
PiperOrigin-RevId: 238535985
2019-03-22 16:11:50 -04:00
ldjesper
e22d745ec0 materialAlertDialogTheme changes to spec (padding, text opacity, scrim color, divider color)
PiperOrigin-RevId: 231757787
2019-02-11 11:06:48 -08:00
ldjesper
37a8acf454 Spinner Picker Window Shape
PiperOrigin-RevId: 230618573
2019-01-25 13:59:37 -05:00
ldjesper
499dc02f8c Respect dialogCornerRadius in MaterialAlertDialogBuilders.
PiperOrigin-RevId: 228337335
2019-01-10 16:46:42 -05:00
ldjesper
52c5e72d81 Remove top level dialog attributes in favor of materialAlertDialogTheme
PiperOrigin-RevId: 226210511
2018-12-21 11:30:35 -05:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
Material Design Team
649828b6df Automated g4 rollback of changelist 225407398
PiperOrigin-RevId: 225418035
2018-12-21 10:47:43 -05:00
ldjesper
198b614e21 Remove new top level attributes in favor of scoped materialAlertDialogTheme
PiperOrigin-RevId: 225407398
2018-12-21 10:43:26 -05:00
ldjesper
bca2bd0e00 Creates a new builder for Alert Dialog's that supports the Material Shape system.
PiperOrigin-RevId: 223985990
2018-12-06 12:03:16 -05:00
Material Design Team
0ccc9c0f24 Automated g4 rollback of changelist 223388533
PiperOrigin-RevId: 223398975
2018-12-06 11:38:41 -05:00
ldjesper
e5ad8ffe43 Creates a new builder for Alert Dialog's that supports the Material Shape system.
PiperOrigin-RevId: 223388533
2018-12-06 11:35:10 -05:00