summaryrefslogtreecommitdiffstats
path: root/Android/04-TheFragmentClass/FragmentsLab/res/layout-large
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-02-13 22:15:10 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 17:40:55 +0100
commitaa33f187990a0858de0252c96a695d984ba9b924 (patch)
tree91af28db188e57b41e7e8df19df95d6a0fe82392 /Android/04-TheFragmentClass/FragmentsLab/res/layout-large
parentf14e5dbbdf84a5bc068e3a1cfd104e876dd6da61 (diff)
downloadcoursera-aa33f187990a0858de0252c96a695d984ba9b924.zip
coursera-aa33f187990a0858de0252c96a695d984ba9b924.tar.gz
Android : 04-TheFragmentClass: add
Diffstat (limited to 'Android/04-TheFragmentClass/FragmentsLab/res/layout-large')
-rw-r--r--Android/04-TheFragmentClass/FragmentsLab/res/layout-large/main_activity.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/Android/04-TheFragmentClass/FragmentsLab/res/layout-large/main_activity.xml b/Android/04-TheFragmentClass/FragmentsLab/res/layout-large/main_activity.xml
new file mode 100644
index 0000000..56e4020
--- /dev/null
+++ b/Android/04-TheFragmentClass/FragmentsLab/res/layout-large/main_activity.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/frags"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal"
+ android:baselineAligned="false">
+
+ <fragment
+ android:id="@+id/friends_frag"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ class="course.labs.fragmentslab.FriendsFragment" />
+
+ <fragment
+ android:id="@+id/feed_frag"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="3"
+ class="course.labs.fragmentslab.FeedFragment" />
+
+</LinearLayout>