Close button for AdMob banner

余生颓废 提交于 2019-12-24 02:48:10

问题


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" />

回答1:


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.



来源:https://stackoverflow.com/questions/12752118/close-button-for-admob-banner

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!