-
- All Implemented Interfaces:
public final class ButtonKt
-
-
Method Summary
Modifier and Type Method Description final static UnitapplyTheme(Button $self, ButtonTheme theme)Apply theme to Button final static UnitapplyThemeForUserInfoContentButton(Button $self, @ColorInt() Integer color)Apply Theme for User Info Content Button (below user info text) final static UnitapplyThemeForRoundedButtonWithDrawables(Button $self, ButtonTheme theme)Apply Theme for vendor Button (from Purpose screen) and the User Information (from Vendor screen) -
-
Method Detail
-
applyTheme
final static Unit applyTheme(Button $self, ButtonTheme theme)
Apply theme to Button
- Parameters:
theme- the ButtonTheme containing computed theme properties
-
applyThemeForUserInfoContentButton
final static Unit applyThemeForUserInfoContentButton(Button $self, @ColorInt() Integer color)
Apply Theme for User Info Content Button (below user info text)
- Parameters:
color- the Color value to use from ThemeProvider
-
applyThemeForRoundedButtonWithDrawables
final static Unit applyThemeForRoundedButtonWithDrawables(Button $self, ButtonTheme theme)
Apply Theme for vendor Button (from Purpose screen) and the User Information (from Vendor screen)
- Parameters:
theme- to use on button from ThemeProvider
-
-
-
-