summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-03-30 14:53:28 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-30 14:53:28 +0200
commit02b9677a9cf5b2c8e8c31b0974829a3ffb986c6f (patch)
treecbcdc44bfa55d7e4e764f90a1cd4a46295ed9d2b /ui
parent82d26e61da7614ec3e1860de3030ad0d332ae871 (diff)
ui: add list selection highlight color for tablet
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/src/main/res/drawable/list_item_background.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/main/res/drawable/list_item_background.xml b/ui/src/main/res/drawable/list_item_background.xml
index d517bbb6..58997923 100644
--- a/ui/src/main/res/drawable/list_item_background.xml
+++ b/ui/src/main/res/drawable/list_item_background.xml
@@ -8,6 +8,10 @@
app:state_multiselected="true">
<color android:color="?attr/colorMultiselectActiveBackground" />
</item>
+ <item
+ android:state_activated="true">
+ <color android:color="?attr/colorControlHighlight" />
+ </item>
</selector>
</item>
<item android:drawable="?attr/selectableItemBackground" />