콘텐츠 메인 - 배너 광고 추가

This commit is contained in:
2023-09-15 01:22:51 +09:00
parent 26e43bd548
commit cae15b7f39
5 changed files with 50 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
<?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"
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -53,6 +55,17 @@
android:layout_marginTop="6.7dp"
android:layout_marginBottom="40dp" />
<com.google.android.gms.ads.AdView
android:id="@+id/ad_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="13.3dp"
ads:adSize="SMART_BANNER"
ads:adUnitId="@string/admob_curation_banner_unit_id"
app:layout_constraintEnd_toEndOf="@+id/tv_title"
app:layout_constraintStart_toStartOf="@+id/tv_title"
app:layout_constraintTop_toBottomOf="@+id/rv_curation" />
<LinearLayout
android:id="@+id/ll_my_stash"
android:layout_width="match_parent"