Skip to content

Commit 75efd13

Browse files
committed
ui: don't create fake theme color attr
Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent cd812b0 commit 75efd13

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

ui/src/main/res/drawable/list_item_background.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<item
77
android:state_activated="true"
88
app:state_multiselected="true">
9-
<color android:color="?attr/colorMultiselectActiveBackground" />
9+
<color android:color="?attr/colorSurfaceVariant" />
1010
</item>
1111
<item
1212
android:state_activated="true">

ui/src/main/res/values-night/themes.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@
2727
<item name="colorOnSurfaceInverse">@color/md_theme_dark_inverseOnSurface</item>
2828
<item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item>
2929
<item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item>
30-
<item name="colorMultiselectActiveBackground">@color/md_theme_dark_surfaceVariant</item>
3130
</style>
3231
</resources>

ui/src/main/res/values/attrs.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<resources>
33
<declare-styleable name="Multiselected">
44
<attr name="state_multiselected" format="boolean" />
5-
<attr name="colorMultiselectActiveBackground" format="reference|color" />
65
</declare-styleable>
76
<declare-styleable name="TvCardView">
87
<attr name="state_isUp" format="boolean" />

ui/src/main/res/values/themes.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@
2727
<item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item>
2828
<item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item>
2929
<item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item>
30-
<item name="colorMultiselectActiveBackground">@color/md_theme_light_surfaceVariant</item>
3130
</style>
3231
</resources>

0 commit comments

Comments
 (0)