I m trying to add an adView to my layout with a listView but for some reason the adview doesn t show up. It works on the other activities but doesn t show up on the one with the listView on it. This is the code I m using:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.google.ads.AdView android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adUnitId="ID"
ads:adSize="BANNER"
ads:loadAdOnCreate="true"/>
<ListView android:id="@+id/listView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
任何想法?