-
- All Implemented Interfaces:
-
android.os.Parcelable,com.monetization.ads.nativeads.template.appearance.NativeTemplateButtonAppearance
public final class ButtonAppearance implements Parcelable, NativeTemplateButtonAppearance
ButtonAppearance provides interfaces for Button customization. ButtonAppearance are created using ButtonAppearance.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classButtonAppearance.BuilderBuilds a ButtonAppearance.
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<ButtonAppearance>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and Type Method Description intgetBorderColor()Returns the border color specified for Button. floatgetBorderWidth()Returns the border width specified for Button. intgetNormalColor()Returns the background color specified for normal state of the Button. intgetPressedColor()Returns the backgroundcolor specified for pressed state of the Button. TextAppearancegetTextAppearance()Returns the text appearance specified for Button. inthashCode()booleanequals(Object o)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
-
Method Detail
-
getBorderColor
int getBorderColor()
Returns the border color specified for Button.
-
getBorderWidth
float getBorderWidth()
Returns the border width specified for Button.
-
getNormalColor
int getNormalColor()
Returns the background color specified for normal state of the Button.
-
getPressedColor
int getPressedColor()
Returns the backgroundcolor specified for pressed state of the Button.
-
getTextAppearance
@Nullable() TextAppearance getTextAppearance()
Returns the text appearance specified for Button.
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-