diff options
author | 2024-10-18 11:51:50 +0000 | |
---|---|---|
committer | 2024-11-15 14:58:53 +0000 | |
commit | 9f9565e03597431903a0063a27a60eb93ef569b0 (patch) | |
tree | 4d4c453d68bb4d514243b43a414e6b8c9d2741d6 /lint-baseline.xml | |
parent | 179c7123bf3eac281806e590f076c12962a94cd5 (diff) |
Migrate materialColor* attributes into colors
TLDR:
* This change should not break anything or change any color.
* Simplifies theming and styling while improving developer experience.
* With this developers can often skip styling for color entirely, while ensuring consistency and preventing accidental overrides.
Bug: 374273611
Test: presubmit
Flag: EXEMPT bugfix
Change-Id: Ibf06926ca0489a5daed54dd234f3eb4dd557ada0
Diffstat (limited to 'lint-baseline.xml')
-rw-r--r-- | lint-baseline.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lint-baseline.xml b/lint-baseline.xml index c970b7a7..c1f51348 100644 --- a/lint-baseline.xml +++ b/lint-baseline.xml @@ -2083,8 +2083,8 @@ <issue id="Overdraw" - message="Possible overdraw: Root element paints background `?androidprv:attr/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" - errorLine1=" android:background="?androidprv:attr/materialColorSurfaceContainer">" + message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" + errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_file.xml" @@ -2094,8 +2094,8 @@ <issue id="Overdraw" - message="Possible overdraw: Root element paints background `?androidprv:attr/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" - errorLine1=" android:background="?androidprv:attr/materialColorSurfaceContainer">" + message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" + errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_files_text.xml" @@ -2105,8 +2105,8 @@ <issue id="Overdraw" - message="Possible overdraw: Root element paints background `?androidprv:attr/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" - errorLine1=" android:background="?androidprv:attr/materialColorSurfaceContainer">" + message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" + errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_image.xml" @@ -2116,8 +2116,8 @@ <issue id="Overdraw" - message="Possible overdraw: Root element paints background `?androidprv:attr/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" - errorLine1=" android:background="?androidprv:attr/materialColorSurfaceContainer">" + message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" + errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_text.xml" |