summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout-w720dp
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
commit9eb79e03dd24abbb7af89e3aaf2c66e4bc0a29ec (patch)
treef793bc97cc175b60a168c6815686f9c5d2b49d5e /app/src/main/res/layout-w720dp
parent46a67a85af4411a750e492545484a0b63d3abfeb (diff)
ConfigActivity: Only use split layout on tablet-sized screens
Diffstat (limited to 'app/src/main/res/layout-w720dp')
-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>