5
Admobバナー広告を使用しているときに、テスト広告も実際の広告もデバイスの全幅を占めていません。Admob bannner広告が全幅を取らない
これは私が私のレイアウトXMLで宣言したadView
です:
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:gravity="bottom"
ads:adSize="BANNER"
ads:adUnitId="@string/banner_ad_unit_id"></com.google.android.gms.ads.AdView>
これがレンダリングされているものです。
広告は非常に明確にそれが320PX広いだと述べています。 –
@AdamSそれで、どうやって全幅を占めるようにできますか? –