Advertisement
Guest User

Untitled

a guest
May 4th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.19 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.     xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  3.     android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  4.     android:paddingRight="@dimen/activity_horizontal_margin"
  5.     android:paddingTop="@dimen/activity_vertical_margin"
  6.     android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
  7.  
  8.     <fragment
  9.         android:layout_width="wrap_content"
  10.         android:layout_height="wrap_content"
  11.         android:name="com.example.john.fragment.TopSectionFragment"
  12.         android:id="@+id/fragment"
  13.         android:layout_alignParentTop="true"
  14.         android:layout_centerHorizontal="true"
  15.         tools:layout="@layout/top_section_fragment" />
  16.  
  17.     <fragment
  18.         android:layout_width="200dp"
  19.         android:layout_height="200dp"
  20.         android:name="com.example.john.fragment.BottomPictureFragment"
  21.         android:id="@+id/fragment2"
  22.         tools:layout="@layout/bottom_picture_fragment"
  23.         android:layout_alignParentBottom="true"
  24.         android:layout_centerHorizontal="true" />
  25. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement