콘텐츠 상세 - 배너 광고 추가

This commit is contained in:
2023-09-14 03:14:48 +09:00
parent f6cbaffd3b
commit 26e43bd548
5 changed files with 61 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -168,6 +169,15 @@
tools:src="@drawable/btn_player_repeat" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.google.android.gms.ads.AdView
android:id="@+id/ad_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="13.3dp"
android:visibility="gone"
ads:adSize="SMART_BANNER"
ads:adUnitId="@string/admob_free_content_banner_unit_id" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"