Advertisement
abhighosh_18

activity_main.xml

Aug 4th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.98 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:background="#00BBFF"
  6.    android:id="@+id/my_layout">
  7.  
  8.     <fragment
  9.        android:layout_width="match_parent"
  10.        android:layout_height="wrap_content"
  11.        android:name="com.example.abhishek.fragments.FragmentA"
  12.        android:id="@+id/fragment"
  13.        android:layout_alignParentTop="true"
  14.        android:layout_alignParentLeft="true"
  15.        android:layout_alignParentStart="true" />
  16.  
  17.     <fragment
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:name="com.example.abhishek.fragments.FragmentB"
  21.        android:id="@+id/fragment2"
  22.        android:layout_below="@+id/fragment"
  23.        android:layout_alignParentLeft="true"
  24.        android:layout_alignParentStart="true" />
  25. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement