summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/list_item_background.xml5
-rw-r--r--app/src/main/res/drawable/list_item_background_anim.xml5
2 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/list_item_background.xml b/app/src/main/res/drawable/list_item_background.xml
new file mode 100644
index 00000000..f005ac1d
--- /dev/null
+++ b/app/src/main/res/drawable/list_item_background.xml
@@ -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/list_item_activated" android:state_activated="true" />
+ <item android:drawable="@android:color/transparent" />
+</selector>
diff --git a/app/src/main/res/drawable/list_item_background_anim.xml b/app/src/main/res/drawable/list_item_background_anim.xml
new file mode 100644
index 00000000..2e962eb1
--- /dev/null
+++ b/app/src/main/res/drawable/list_item_background_anim.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+ android:color="@color/list_item_ripple">
+ <item android:drawable="@drawable/list_item_background" />
+</ripple>