Use wrap_content ad height
This commit is contained in:
parent
96478b7748
commit
6ea52d46d2
1 changed files with 2 additions and 2 deletions
|
@ -33,12 +33,12 @@
|
||||||
<com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto"
|
<com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto"
|
||||||
android:id="@+id/adView"
|
android:id="@+id/adView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="50dp"
|
android:layout_height="wrap_content"
|
||||||
ads:adSize="SMART_BANNER"
|
ads:adSize="SMART_BANNER"
|
||||||
ads:adUnitId="@string/adbmob_ad_unit_id"
|
ads:adUnitId="@string/adbmob_ad_unit_id"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/pager"
|
app:layout_constraintTop_toBottomOf="@+id/pager"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"></com.google.android.gms.ads.AdView>
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||||||
|
|
||||||
</android.support.constraint.ConstraintLayout>
|
</android.support.constraint.ConstraintLayout>
|
||||||
|
|
Loading…
Reference in a new issue