메시지 - 배너 광고 추가

This commit is contained in:
2023-09-15 02:22:15 +09:00
parent 52e6965472
commit f9401d91c4
9 changed files with 127 additions and 5 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:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -83,10 +84,19 @@
</RelativeLayout>
<ScrollView
<com.google.android.gms.ads.AdView
android:id="@+id/ad_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/rl_recipient"
android:layout_marginTop="13.3dp"
ads:adSize="SMART_BANNER"
ads:adUnitId="@string/admob_message_banner_unit_id" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/ad_view"
android:layout_marginHorizontal="13.3dp"
android:layout_marginTop="13.3dp"
android:background="@drawable/bg_round_corner_10_232323_9970ff">