Saturday, March 17, 2012

[android-developers] Simple XML Error

Could someone please tell me why i get this error. "error: Error parsing XML: junk after document element" I am attempting to include ads at the bottom of my app and I can't figure out this problem.

<LinearLayout 

    android:layout_width="fill_parent"

    android:id="@+id/ad_layout"

    android:layout_height="wrap_content"

    android:gravity="bottom"

    android:layout_alightParentBottom="true" >


    <com.google.ads.AdView

        android:id="@+id/ad"

        android:layout_width="fill_parent"

        android:layout_height="wrap_content"

        googleads:adSize="BANNER"

        googleads:adUnitId="@string/admob_id" 

        android:gravity="bottom" />

</LinearLayout>


Thanks in advance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate