diff options
Diffstat (limited to 'Android/04-TheFragmentClass/FragmentsLab/res/layout')
-rw-r--r-- | Android/04-TheFragmentClass/FragmentsLab/res/layout/feed.xml | 11 | ||||
-rw-r--r-- | Android/04-TheFragmentClass/FragmentsLab/res/layout/main_activity.xml | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Android/04-TheFragmentClass/FragmentsLab/res/layout/feed.xml b/Android/04-TheFragmentClass/FragmentsLab/res/layout/feed.xml new file mode 100644 index 0000000..6bd0269 --- /dev/null +++ b/Android/04-TheFragmentClass/FragmentsLab/res/layout/feed.xml @@ -0,0 +1,11 @@ +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <TextView + android:id="@+id/feed_view" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/greeting" /> + +</ScrollView>
\ No newline at end of file diff --git a/Android/04-TheFragmentClass/FragmentsLab/res/layout/main_activity.xml b/Android/04-TheFragmentClass/FragmentsLab/res/layout/main_activity.xml new file mode 100644 index 0000000..a9ee9c5 --- /dev/null +++ b/Android/04-TheFragmentClass/FragmentsLab/res/layout/main_activity.xml @@ -0,0 +1,5 @@ +<?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="match_parent" />
\ No newline at end of file |