I've received an email from Google saying that my app violated the policy (Modified ad code: Resizing Ad Frames), but I did not resize the ad frame at all.
I've tried to appeal, but it is still "not approved", and the Policy Center was not helpful, they did not provide screenshots or specify which part of the app violates the policy.
Here is the layout xml, please tell me how I can fix the issue. Thanks.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="
http://schemas.android.com/apk/res/android"
xmlns:app="
http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/list_bg"
android:orientation="vertical">
<com.youth.banner.Banner
android:id="@+id/main_event_banner"
android:layout_width="match_parent"
android:layout_height="0dp" />
<LinearLayout
android:id="@+id/main_event_banner_indicator_container"
android:layout_width="match_parent"
android:layout_height="3dp"
android:orientation="horizontal" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/home_indicator"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/pager_tab_strip_bg_list"
app:tabIndicatorColor="@color/tab_indicator"
app:tabIndicatorFullWidth="true"
app:tabIndicatorHeight="3dp"
app:tabSelectedTextColor="@color/tab_indicator"
app:tabTextColor="@color/tab_text_unselected" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/home_pager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<include layout="@layout/banner_ad" />
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="
http://schemas.android.com/apk/res/android"
android:id="@+id/adViewContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:background="@android:color/transparent"
android:contentDescription="@string/accessibility_advertisement"
android:gravity="bottom|center_horizontal"
android:orientation="vertical" />