Native Ad View
Constructs a new NativeAdView programmatically.
Parameters
context
The Context the view is running in, through which it can access the current theme, resources, etc.
Constructs a new NativeAdView from XML layout file.
Parameters
context
The Context the view is running in, through which it can access the current theme, resources, etc.
attrs
The attributes of the XML tag that is inflating the view.
Constructs a new NativeAdView from XML layout file.
Parameters
context
The Context the view is running in, through which it can access the current theme, resources, etc.
attrs
The attributes of the XML tag that is inflating the view.
def Style Attr
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.