diff options
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/list_item_background.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/src/main/res/drawable/list_item_background.xml b/app/src/main/res/drawable/list_item_background.xml index f064676a..d62f3237 100644 --- a/app/src/main/res/drawable/list_item_background.xml +++ b/app/src/main/res/drawable/list_item_background.xml @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> <item> <selector> - <item android:state_activated="true"> + <item app:state_multiselected="true" android:state_activated="true"> + <color android:color="?android:attr/colorControlActivated" /> + </item> + <item app:state_multiselected="false" android:state_activated="true"> <color android:color="?android:attr/colorControlHighlight" /> - <!-- TODO(msf): depending on whether or not we are in multiselect mode, choose instead: - <color android:color="?android:attr/colorControlActivated" /> - --> </item> </selector> </item> |