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);
Mở rộng: | RelativeLayout |
Gói: | ads |
AdChoicesView(Context, NativeAd)
public AdChoicesView(Context c, NativeAd ad)
Thông số | Mô tả |
---|---|
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)
Thông số | Mô tả |
---|---|
c | |
ad | |
expandableIcon |