NativeAdViewAttributes
Non è disponibile una versione più recente di questa classe. Controlla la versione più recente.

NativeAdViewAttributes controls layout and display elements of the NativeAdView. The attributes object must be created and fully initialized at NativeAdView creation time, changes to the attributes object after NativeAdView creation will not propagate to the view.

Estende:Object
Pacchetto:ads
Costruttori
NativeAdViewAttributes()
public NativeAdViewAttributes()
NativeAdViewAttributes(JSONObject)
public NativeAdViewAttributes(JSONObject configObject)
ParametroDescrizione
configObject
Metodi di istanza
setTypeface(Typeface)
public NativeAdViewAttributes setTypeface(Typeface typeface)
ParametroDescrizione
typeface
getTypeface()
public Typeface getTypeface()
setBackgroundColor(int)
public NativeAdViewAttributes setBackgroundColor(int backgroundColor)
ParametroDescrizione
backgroundColor
getBackgroundColor()
public int getBackgroundColor()
setTitleTextColor(int)
public NativeAdViewAttributes setTitleTextColor(int titleTextColor)
ParametroDescrizione
titleTextColor
getTitleTextColor()
public int getTitleTextColor()
setDescriptionTextColor(int)
public NativeAdViewAttributes setDescriptionTextColor(int descriptionTextColor)
ParametroDescrizione
descriptionTextColor
getDescriptionTextColor()
public int getDescriptionTextColor()
setButtonColor(int)
public NativeAdViewAttributes setButtonColor(int buttonColor)
ParametroDescrizione
buttonColor
getButtonColor()
public int getButtonColor()
setButtonTextColor(int)
public NativeAdViewAttributes setButtonTextColor(int buttonTextColor)
ParametroDescrizione
buttonTextColor
getButtonTextColor()
public int getButtonTextColor()
setButtonBorderColor(int)
public NativeAdViewAttributes setButtonBorderColor(int buttonBorderColor)
ParametroDescrizione
buttonBorderColor
getButtonBorderColor()
public int getButtonBorderColor()
getTitleTextSize()
public int getTitleTextSize()
getDescriptionTextSize()
public int getDescriptionTextSize()
getAutoplay()
public boolean getAutoplay()
setAutoplay(boolean)
public NativeAdViewAttributes setAutoplay(boolean autoplay)
ParametroDescrizione
autoplay