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);
Prolonge : | RelativeLayout |
Package : | ads |
AdChoicesView(Context, NativeAd)
public AdChoicesView(Context c, NativeAd ad)
Paramètre | 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)
Paramètre | Description |
---|---|
c | |
ad | |
expandableIcon |