-
- All Implemented Interfaces:
-
android.os.Parcelable,com.monetization.ads.nativeads.template.appearance.NativeTemplateTextAppearance
public final class TextAppearance implements Parcelable, NativeTemplateTextAppearance
TextAppearance provides interfaces for TextView customization. TextAppearance are created using TextAppearance.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTextAppearance.BuilderBuilds a TextAppearance.
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<TextAppearance>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and Type Method Description intgetTextColor()Returns the color specified for TextView text. floatgetTextSize()Returns the size specified for TextView text. StringgetFontFamilyName()Returns the font family name specified for TextView text. intgetFontStyle()Returns the font style specified for TextView text. inthashCode()booleanequals(Object o)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
-
Method Detail
-
getTextColor
int getTextColor()
Returns the color specified for TextView text.
-
getTextSize
float getTextSize()
Returns the size specified for TextView text.
-
getFontFamilyName
@Nullable() String getFontFamilyName()
Returns the font family name specified for TextView text.
-
getFontStyle
int getFontStyle()
Returns the font style specified for TextView text.
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-