diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-16 01:20:36 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-16 01:38:46 -0500 |
commit | 1db9d53c6398868ed99a38ef80db27cfd0a50b27 (patch) | |
tree | 91a5730651d7aafa37e61c5ed7813d6b239c1979 /app/src/main/res/drawable | |
parent | 942b4d30c24e201fea9d0444923fc7a4c344b83d (diff) |
ConfigActivity: Make the two-pane layout more readable
Highlight the selected configuration, and add a border between the two
panes.
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/list_item_background.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/drawable/list_item_background_anim.xml | 5 |
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> |