An expandable, clickable ad choices icon. Can be added to a custom NativeAd view to signify ad content.
AdChoicesView can be declared and added to view:
AdChoicesView adChoicesView = new AdChoicesView(context, nativeAd); addView(adView);
Extends: | RelativeLayout |
Package: | ads |
AdChoicesView(Context, NativeAd)
public AdChoicesView(Context c, NativeAd ad)
Parameter | Description |
---|---|
c | |
ad |
AdChoicesView(Context, NativeAd, boolean)
Ad choices view that animates a text link to the ad choices url when tapped.
public AdChoicesView(Context c, NativeAd ad, boolean expandableIcon)
Parameter | Description |
---|---|
c | |
ad | |
expandableIcon |