NativeAdViewAttributes
このクラスには新しいバージョンがあります。ご確認ください。 最新バージョン

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.

拡張:Object
パッケージ:ads
コンストラクター
NativeAdViewAttributes()
public NativeAdViewAttributes()
インスタンスメソッド
setTypeface(Typeface)
public NativeAdViewAttributes setTypeface(Typeface typeface)
パラメーター説明
typeface
getTypeface()
public Typeface getTypeface()
setBackgroundColor(int)
public NativeAdViewAttributes setBackgroundColor(int backgroundColor)
パラメーター説明
backgroundColor
getBackgroundColor()
public int getBackgroundColor()
setTitleTextColor(int)
public NativeAdViewAttributes setTitleTextColor(int titleTextColor)
パラメーター説明
titleTextColor
getTitleTextColor()
public int getTitleTextColor()
setDescriptionTextColor(int)
public NativeAdViewAttributes setDescriptionTextColor(int descriptionTextColor)
パラメーター説明
descriptionTextColor
getDescriptionTextColor()
public int getDescriptionTextColor()
setButtonColor(int)
public NativeAdViewAttributes setButtonColor(int buttonColor)
パラメーター説明
buttonColor
getButtonColor()
public int getButtonColor()
setButtonTextColor(int)
public NativeAdViewAttributes setButtonTextColor(int buttonTextColor)
パラメーター説明
buttonTextColor
getButtonTextColor()
public int getButtonTextColor()
setButtonBorderColor(int)
public NativeAdViewAttributes setButtonBorderColor(int buttonBorderColor)
パラメーター説明
buttonBorderColor
getButtonBorderColor()
public int getButtonBorderColor()
getTitleTextSize()
public int getTitleTextSize()
getDescriptionTextSize()
public int getDescriptionTextSize()