繁体   English   中英

当横幅广告位于滚动视图的顶部时是否接受横幅广告

[英]Are banner ads accepted when banner ad is at the top in scrollview

我的应用程序中有横幅广告。

在主要活动中,我有一个滚动视图。在第二个布局中,包括具有滚动视图的主要活动,我使用相对布局添加了横幅广告。

我的问题是横幅广告位于顶部并且没有内容重叠但是当用户向下滚动时横幅应用程序在滚动视图上重叠。 是可以接受还是违反政策。

https://i.stack.imgur.com/rIdKl.jpg (用户打开应用时第一张图片广告不重叠)

https://i.stack.imgur.com/91mZU.jpg (用户向下滚动时Add重叠)相关布局代码

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:fitsSystemWindows="true"
    tools:context=".MainActivity">

    <include layout="@layout/activity_main" />
    <!-- your orignal activity name -->

    <com.google.android.gms.ads.AdView
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="30dp"
        android:layout_marginEnd="30dp"
        android:layout_marginBottom="656dp"
        app:adSize="BANNER"
        app:adUnitId="ca-app-pub-3940256099942544/6300978111"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent">

    </com.google.android.gms.ads.AdView>


</RelativeLayout> ```


  [1]: https://i.stack.imgur.com/rIdKl.jpg
  [2]: https://i.stack.imgur.com/91mZU.jpg

我认为这是可以接受的。 Google Play 中有许多具有此类界面的下载量达数百万的应用程序并没有被禁止。 例如这个:


关联

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM