Use wrap_content ad height

This commit is contained in:
Billy Brawner 2019-02-10 14:18:44 -06:00 committed by William Brawner
parent 96478b7748
commit 6ea52d46d2

View file

@ -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>