Advertisement
Guest User

layout_parentfragment

a guest
Jul 9th, 2013
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="wrap_content" > -->
  5.  
  6.     <RelativeLayout
  7.        xmlns:android="http://schemas.android.com/apk/res/android"
  8.        android:layout_width="match_parent"
  9.        android:layout_height="wrap_content"
  10.        android:background="#ff0000" >
  11.  
  12.         <TextView
  13.            android:id="@+id/textView1"
  14.            android:layout_width="wrap_content"
  15.            android:layout_height="wrap_content"
  16.            android:textAppearance="?android:attr/textAppearanceLarge" />
  17.  
  18.         <Button
  19.            android:id="@+id/button1"
  20.            android:layout_width="wrap_content"
  21.            android:layout_height="wrap_content"
  22.            android:layout_below="@id/textView1"
  23.            android:layout_margin="20dp"
  24.            android:text="Add Child Fragment" />
  25.  
  26.         <TextView
  27.            android:layout_width="wrap_content"
  28.            android:layout_height="wrap_content"
  29.            android:layout_below="@id/button1"
  30.            android:text="Hi I am Parent Fragment 1"
  31.            android:textAppearance="?android:attr/textAppearanceLarge" />
  32.     </RelativeLayout>
  33.  
  34. <!-- </FrameLayout> -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement