what's wrong with the ads size? My current code still has the same error
<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 xmlns:ads=
"http://schemas.android.com/apk/res/com.carrtelind.truecolors"
android:id="@+id/ad"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
ads:adUnitId="a14dbba084368db"
android:gravity="bottom" />
</LinearLayout>
On Sunday, March 18, 2012 5:10:49 AM UTC-5, oldnew wrote:
>
> googleads:adSize
>
> 2012/3/18 CaRRtel Industres <[email protected]>
>
>> 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 [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en