summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout-w720dp/config_activity.xml
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-24 23:22:16 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-24 23:22:22 -0500
commit292b16b1a190811c87d3823dcf1fd8a30bd8b4cb (patch)
treef793bc97cc175b60a168c6815686f9c5d2b49d5e /app/src/main/res/layout-w720dp/config_activity.xml
parenta828e83399a1ea29341e10d498002216be54ca8c (diff)
ConfigActivity: Only use split layout on tablet-sized screens
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/layout-w720dp/config_activity.xml')
-rw-r--r--app/src/main/res/layout-w720dp/config_activity.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/layout-w720dp/config_activity.xml b/app/src/main/res/layout-w720dp/config_activity.xml
new file mode 100644
index 00000000..72792af5
--- /dev/null
+++ b/app/src/main/res/layout-w720dp/config_activity.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:baselineAligned="false"
+ android:orientation="horizontal">
+
+ <FrameLayout
+ android:id="@+id/master_fragment"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
+ <FrameLayout
+ android:id="@+id/detail_fragment"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="2"
+ tools:ignore="InconsistentLayout">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/placeholder_text" />
+ </FrameLayout>
+</LinearLayout>