summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-16 01:20:36 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-16 01:38:46 -0500
commit9e36e0d9c6bedec3238717fe694fd0bf16480bb9 (patch)
tree91a5730651d7aafa37e61c5ed7813d6b239c1979 /app/src/main/res/drawable
parent76eb65d7d5d15ff38823939db4979eb5c1f3bd24 (diff)
ConfigActivity: Make the two-pane layout more readable
Highlight the selected configuration, and add a border between the two panes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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>