Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout 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:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
- <fragment
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:name="com.example.john.fragment.TopSectionFragment"
- android:id="@+id/fragment"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- tools:layout="@layout/top_section_fragment" />
- <fragment
- android:layout_width="200dp"
- android:layout_height="200dp"
- android:name="com.example.john.fragment.BottomPictureFragment"
- android:id="@+id/fragment2"
- tools:layout="@layout/bottom_picture_fragment"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement