Advertisement
Guest User

Untitled

a guest
Jan 28th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.94 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent" >
  6.  
  7. <fragment
  8.        android:id="@+id/frag_yourfragid"
  9.        android:name="com.test.yourpackage.FragmentExtendedClass"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="0dip"
  12.        android:layout_weight="1" />
  13.  
  14. <com.google.ads.AdView android:id="@+id/adView"
  15.                     android:layout_width="wrap_content"
  16.                     android:layout_height="wrap_content"
  17.                     ads:adUnitId="a150e68b8c3cc71"
  18.                     ads:adSize="BANNER"
  19.                     ads:testDevices="0123456789ABCDEF"
  20.                     ads:loadAdOnCreate="true"
  21.                     android:layout_alignParentBottom="true" />
  22. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement