summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout
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/layout
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/layout')
-rw-r--r--app/src/main/res/layout/config_detail_fragment.xml3
-rw-r--r--app/src/main/res/layout/config_edit_fragment.xml3
-rw-r--r--app/src/main/res/layout/config_list_item.xml1
-rw-r--r--app/src/main/res/layout/placeholder_fragment.xml1
4 files changed, 6 insertions, 2 deletions
diff --git a/app/src/main/res/layout/config_detail_fragment.xml b/app/src/main/res/layout/config_detail_fragment.xml
index 1bae0450..add03c08 100644
--- a/app/src/main/res/layout/config_detail_fragment.xml
+++ b/app/src/main/res/layout/config_detail_fragment.xml
@@ -10,7 +10,8 @@
<ScrollView
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground">
<RelativeLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/config_edit_fragment.xml b/app/src/main/res/layout/config_edit_fragment.xml
index 3351c008..285215fb 100644
--- a/app/src/main/res/layout/config_edit_fragment.xml
+++ b/app/src/main/res/layout/config_edit_fragment.xml
@@ -10,7 +10,8 @@
<ScrollView
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground">
<RelativeLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml
index 33f447c8..52bd385c 100644
--- a/app/src/main/res/layout/config_list_item.xml
+++ b/app/src/main/res/layout/config_list_item.xml
@@ -11,6 +11,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:background="@drawable/list_item_background_anim"
android:padding="16dp">
<TextView
diff --git a/app/src/main/res/layout/placeholder_fragment.xml b/app/src/main/res/layout/placeholder_fragment.xml
index bb89ef1a..c519b994 100644
--- a/app/src/main/res/layout/placeholder_fragment.xml
+++ b/app/src/main/res/layout/placeholder_fragment.xml
@@ -2,5 +2,6 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground"
android:gravity="center"
android:text="@string/placeholder_text" />