aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/layout-large-land/abstract_fragment_container.xml21
-rw-r--r--res/layout/abstract_fragment_activity.xml6
-rw-r--r--res/layout/abstract_fragment_container.xml6
3 files changed, 28 insertions, 5 deletions
diff --git a/res/layout-large-land/abstract_fragment_container.xml b/res/layout-large-land/abstract_fragment_container.xml
new file mode 100644
index 00000000..511d63aa
--- /dev/null
+++ b/res/layout-large-land/abstract_fragment_container.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="0px"
+ android:layout_weight="1">
+
+ <FrameLayout
+ android:id="@+id/fragment_container"
+ android:layout_width="0px"
+ android:layout_height="match_parent"
+ android:layout_weight="4"/>
+
+ <FrameLayout
+ android:id="@+id/fragment_second_container"
+ android:layout_width="0px"
+ android:layout_height="match_parent"
+ android:layout_weight="6"
+ android:visibility="gone"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/abstract_fragment_activity.xml b/res/layout/abstract_fragment_activity.xml
index d9f178c5..11357313 100644
--- a/res/layout/abstract_fragment_activity.xml
+++ b/res/layout/abstract_fragment_activity.xml
@@ -4,11 +4,7 @@
android:gravity="center_horizontal"
android:orientation="vertical" >
- <FrameLayout
- android:id="@+id/fragment_container"
- android:layout_width="match_parent"
- android:layout_height="0px"
- android:layout_weight="1"/>
+ <include layout="@layout/abstract_fragment_container" />
<View
android:layout_width="fill_parent"
diff --git a/res/layout/abstract_fragment_container.xml b/res/layout/abstract_fragment_container.xml
new file mode 100644
index 00000000..d4a8607f
--- /dev/null
+++ b/res/layout/abstract_fragment_container.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/fragment_container"
+ android:layout_width="match_parent"
+ android:layout_height="0px"
+ android:layout_weight="1"/> \ No newline at end of file