关闭按钮AdMob的横幅 [英] Close button for AdMob banner

查看:1034
本文介绍了关闭按钮AdMob的横幅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在AdMob的横幅设置关闭按钮?我的意思是这些小X来取消标语...

目前,我加入我的旗帜,以这样的布局:

 < com.google.ads.AdView
        机器人:ID =@ + ID / AD浏览报
        机器人:layout_width =WRAP_CONTENT
        机器人:layout_height =WRAP_CONTENT
        机器人:layout_alignParentBottom =真
        机器人:layout_centerHorizo​​ntal =真
        广告:adSize =SMART_BANNER
        广告:adUnitId =my_id_here
        广告:testDevices =TEST_EMULATOR
        广告:loadAdOnCreate =真/>
 

解决方案

目前还没有办法包括使用SDK的横幅广告的X按钮。希望这个功能可用一段下山的路。

Is there any way to set a close button at a AdMob's banner? I mean those small 'x' to dismiss the banner...

I'm currently adding my banner to the layout like this:

<com.google.ads.AdView
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="my_id_here"
        ads:testDevices="TEST_EMULATOR"
        ads:loadAdOnCreate="true" />

解决方案

There is currently no way to include an X button on a banner ad using the SDK. Hopefully this feature becomes available sometime down the road.

这篇关于关闭按钮AdMob的横幅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆