diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/abstract_fragment_activity.xml | 6 | ||||
-rw-r--r-- | res/layout/abstract_fragment_container.xml | 6 |
2 files changed, 7 insertions, 5 deletions
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 |