ui: don't create fake theme color attr

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2023-04-04 20:42:42 +02:00
parent cd812b03cd
commit 75efd13556
4 changed files with 1 additions and 4 deletions

View File

@ -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">

View File

@ -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>

View File

@ -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" />

View File

@ -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>