-
public final class CallAppBarStyleStyle for CallAppBarView. Use this class together with TransformStyle.callAppBarStyleTransformer to change CallAppBarStyle styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerbackgroundColourprivate final IntegerbackgroundColourLandscapeprivate final IntegerappBarPaddingprivate final DrawableleadingContentIconprivate final IntegerleadingContentIconTintprivate final IntegerleadingContentIconTintLandscapeprivate final IntegerleadingContentMarginStartprivate final IntegerleadingContentMarginEndprivate final TextStylecenterContentTextStyleprivate final TextStylecenterContentTextStyleLandscapeprivate final IntegercenterContentMarginStartprivate final IntegercenterContentMarginEndprivate final DrawabletrailingContentIconprivate final IntegertrailingContentIconTintprivate final IntegertrailingContentIconTintLandscapeprivate final IntegertrailingContentMarginStartprivate final IntegertrailingContentMarginEnd
-
Constructor Summary
Constructors Constructor Description CallAppBarStyle(Integer backgroundColour, Integer backgroundColourLandscape, Integer appBarPadding, Drawable leadingContentIcon, Integer leadingContentIconTint, Integer leadingContentIconTintLandscape, Integer leadingContentMarginStart, Integer leadingContentMarginEnd, TextStyle centerContentTextStyle, TextStyle centerContentTextStyleLandscape, Integer centerContentMarginStart, Integer centerContentMarginEnd, Drawable trailingContentIcon, Integer trailingContentIconTint, Integer trailingContentIconTintLandscape, Integer trailingContentMarginStart, Integer trailingContentMarginEnd)
-
Method Summary
Modifier and Type Method Description final IntegergetBackgroundColour()final IntegergetBackgroundColourLandscape()final IntegergetAppBarPadding()final DrawablegetLeadingContentIcon()final IntegergetLeadingContentIconTint()final IntegergetLeadingContentIconTintLandscape()final IntegergetLeadingContentMarginStart()final IntegergetLeadingContentMarginEnd()final TextStylegetCenterContentTextStyle()final TextStylegetCenterContentTextStyleLandscape()final IntegergetCenterContentMarginStart()final IntegergetCenterContentMarginEnd()final DrawablegetTrailingContentIcon()final IntegergetTrailingContentIconTint()final IntegergetTrailingContentIconTintLandscape()final IntegergetTrailingContentMarginStart()final IntegergetTrailingContentMarginEnd()-
-
Constructor Detail
-
CallAppBarStyle
CallAppBarStyle(Integer backgroundColour, Integer backgroundColourLandscape, Integer appBarPadding, Drawable leadingContentIcon, Integer leadingContentIconTint, Integer leadingContentIconTintLandscape, Integer leadingContentMarginStart, Integer leadingContentMarginEnd, TextStyle centerContentTextStyle, TextStyle centerContentTextStyleLandscape, Integer centerContentMarginStart, Integer centerContentMarginEnd, Drawable trailingContentIcon, Integer trailingContentIconTint, Integer trailingContentIconTintLandscape, Integer trailingContentMarginStart, Integer trailingContentMarginEnd)
- Parameters:
backgroundColour- The background color of the app bar.appBarPadding- The padding around the app bar content.leadingContentIcon- The icon shown in the DefaultCallAppBarLeadingContent.leadingContentIconTint- The icon color in the DefaultCallAppBarLeadingContent in portrait mode.leadingContentIconTintLandscape- The icon color in the DefaultCallAppBarLeadingContent in landscape mode.leadingContentMarginStart- The margin between leading content and the start of the toolbar.leadingContentMarginEnd- The margin between leading and center content.centerContentTextStyle- The text style of the DefaultCallAppBarCenterContent in portrait mode.centerContentTextStyleLandscape- The text style of the DefaultCallAppBarCenterContent in landscape mode.centerContentMarginStart- The margin between center and leading content.centerContentMarginEnd- The margin between center and trailing content.trailingContentIcon- The icon shown in the DefaultCallAppBarTrailingContent.trailingContentIconTint- The icon color in the DefaultCallAppBarTrailingContent in portrait mode.trailingContentIconTintLandscape- The text style of the DefaultCallAppBarTrailingContent in landscape mode.trailingContentMarginStart- The margin between trailing and center content.trailingContentMarginEnd- The margin between leading trailing content and the end of the toolbar.
-
-
Method Detail
-
getBackgroundColour
final Integer getBackgroundColour()
-
getBackgroundColourLandscape
final Integer getBackgroundColourLandscape()
-
getAppBarPadding
final Integer getAppBarPadding()
-
getLeadingContentIcon
final Drawable getLeadingContentIcon()
-
getLeadingContentIconTint
final Integer getLeadingContentIconTint()
-
getLeadingContentIconTintLandscape
final Integer getLeadingContentIconTintLandscape()
-
getLeadingContentMarginStart
final Integer getLeadingContentMarginStart()
-
getLeadingContentMarginEnd
final Integer getLeadingContentMarginEnd()
-
getCenterContentTextStyle
final TextStyle getCenterContentTextStyle()
-
getCenterContentTextStyleLandscape
final TextStyle getCenterContentTextStyleLandscape()
-
getCenterContentMarginStart
final Integer getCenterContentMarginStart()
-
getCenterContentMarginEnd
final Integer getCenterContentMarginEnd()
-
getTrailingContentIcon
final Drawable getTrailingContentIcon()
-
getTrailingContentIconTint
final Integer getTrailingContentIconTint()
-
getTrailingContentIconTintLandscape
final Integer getTrailingContentIconTintLandscape()
-
getTrailingContentMarginStart
final Integer getTrailingContentMarginStart()
-
getTrailingContentMarginEnd
final Integer getTrailingContentMarginEnd()
-
-
-
-