问题
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