diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-04-04 20:42:42 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-04-04 20:53:42 +0200 |
commit | 75efd135561795fdabdd122153a02134f749ab88 (patch) | |
tree | 505fea581d1414b5e10530ac198ffe3629534a95 | |
parent | cd812b03cdacbad50f66581f08c25f3ffa33c1fb (diff) |
ui: don't create fake theme color attr
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | ui/src/main/res/drawable/list_item_background.xml | 2 | ||||
-rw-r--r-- | ui/src/main/res/values-night/themes.xml | 1 | ||||
-rw-r--r-- | ui/src/main/res/values/attrs.xml | 1 | ||||
-rw-r--r-- | ui/src/main/res/values/themes.xml | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/ui/src/main/res/drawable/list_item_background.xml b/ui/src/main/res/drawable/list_item_background.xml index 58997923..3a77b524 100644 --- a/ui/src/main/res/drawable/list_item_background.xml +++ b/ui/src/main/res/drawable/list_item_background.xml @@ -6,7 +6,7 @@ <item android:state_activated="true" app:state_multiselected="true"> - <color android:color="?attr/colorMultiselectActiveBackground" /> + <color android:color="?attr/colorSurfaceVariant" /> </item> <item android:state_activated="true"> diff --git a/ui/src/main/res/values-night/themes.xml b/ui/src/main/res/values-night/themes.xml index a2d5022a..9187e48a 100644 --- a/ui/src/main/res/values-night/themes.xml +++ b/ui/src/main/res/values-night/themes.xml @@ -27,6 +27,5 @@ <item name="colorOnSurfaceInverse">@color/md_theme_dark_inverseOnSurface</item> <item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item> <item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item> - <item name="colorMultiselectActiveBackground">@color/md_theme_dark_surfaceVariant</item> </style> </resources> diff --git a/ui/src/main/res/values/attrs.xml b/ui/src/main/res/values/attrs.xml index 9ba1eea5..b91ac60e 100644 --- a/ui/src/main/res/values/attrs.xml +++ b/ui/src/main/res/values/attrs.xml @@ -2,7 +2,6 @@ <resources> <declare-styleable name="Multiselected"> <attr name="state_multiselected" format="boolean" /> - <attr name="colorMultiselectActiveBackground" format="reference|color" /> </declare-styleable> <declare-styleable name="TvCardView"> <attr name="state_isUp" format="boolean" /> diff --git a/ui/src/main/res/values/themes.xml b/ui/src/main/res/values/themes.xml index aa937b87..e8d36cdd 100644 --- a/ui/src/main/res/values/themes.xml +++ b/ui/src/main/res/values/themes.xml @@ -27,6 +27,5 @@ <item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item> <item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item> <item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item> - <item name="colorMultiselectActiveBackground">@color/md_theme_light_surfaceVariant</item> </style> </resources> |