Convert color state lists to state list drawables for filter background colors.
This eliminates an incompatibility on earlier Android OS versions (https://stackoverflow.com/questions/3953606/how-to-specify-background-color-in-color-state-list-resources)
This commit is contained in:
parent
410ebfe98c
commit
a6dfd27a15
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/accent_dark" android:state_checked="true"/>
|
||||
<item android:color="@color/dialog_filter_inactive_dark" />
|
||||
</selector>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/accent_light" android:state_checked="true" />
|
||||
<item android:color="@color/dialog_filter_inactive_light" />
|
||||
</selector>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/accent_dark" android:state_checked="true"/>
|
||||
<item android:drawable="@color/dialog_filter_inactive_dark" />
|
||||
</selector>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/accent_light" android:state_checked="true" />
|
||||
<item android:drawable="@color/dialog_filter_inactive_light" />
|
||||
</selector>
|
|
@ -74,7 +74,7 @@
|
|||
<item name="ic_volume_adaption">@drawable/ic_volume_adaption_black</item>
|
||||
<item name="scrollbar_thumb">@drawable/scrollbar_thumb_light</item>
|
||||
<item name="filter_dialog_clear">@color/filter_dialog_clear_light</item>
|
||||
<item name="filter_dialog_button_background">@color/filter_dialog_background_light</item>
|
||||
<item name="filter_dialog_button_background">@drawable/filter_dialog_background_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.AntennaPod.Dark" parent="Theme.Base.AntennaPod.Dark">
|
||||
|
@ -151,7 +151,7 @@
|
|||
<item name="ic_volume_adaption">@drawable/ic_volume_adaption_white</item>
|
||||
<item name="scrollbar_thumb">@drawable/scrollbar_thumb_dark</item>
|
||||
<item name="filter_dialog_clear">@color/filter_dialog_clear_dark</item>
|
||||
<item name="filter_dialog_button_background">@color/filter_dialog_background_dark</item>
|
||||
<item name="filter_dialog_button_background">@drawable/filter_dialog_background_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.AntennaPod.TrueBlack" parent="Theme.Base.AntennaPod.TrueBlack">
|
||||
|
|
Loading…
Reference in New Issue