toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-layout
/
com.urbanairship.android.layout.property
/
TextAppearance
Text
Appearance
open
class
TextAppearance
Inheritors
TextInputTextAppearance
Members
Constructors
Text
Appearance
Link copied to clipboard
constructor
(
@
NonNull
color
:
Color
,
fontSize
:
Int
,
@
NonNull
alignment
:
TextAlignment
,
@
NonNull
textStyles
:
List
<
TextStyle
>
,
@
NonNull
fontFamilies
:
List
<
String
>
)
Properties
alignment
Link copied to clipboard
@
NonNull
@get:
NonNull
val
alignment
:
TextAlignment
color
Link copied to clipboard
@
NonNull
@get:
NonNull
val
color
:
Color
font
Families
Link copied to clipboard
@
NonNull
@get:
NonNull
val
fontFamilies
:
List
<
String
>
font
Size
Link copied to clipboard
@
Dimension
(
unit
=
Dimension.DP
)
@get:
Dimension
(
unit
=
Dimension.DP
)
val
fontSize
:
Int
text
Styles
Link copied to clipboard
@
NonNull
@get:
NonNull
val
textStyles
:
List
<
TextStyle
>
Functions
from
Json
Link copied to clipboard
@
NonNull
open
fun
fromJson
(
@
NonNull
json
:
JsonMap
)
:
TextAppearance