Package io.didomi.sdk.common.extension
Class ButtonKt
-
- All Implemented Interfaces:
public final class ButtonKt
-
-
Method Summary
Modifier and Type Method Description final static UnitapplyThemeForUserInfoContentButton(Button $self, @ColorInt() Integer color)Apply Theme for User Info Content Button (below user info text) final static UnitapplyThemeForRoundedButtonWithDrawables(Button $self, TextTheme theme)Apply Theme for vendor Button (from Purpose screen) and the User Information (from Vendor screen) final static UnitunderlineForOlderApi(Button $self, Integer olderThanApi)Apply underline style only for older APIs -
-
Method Detail
-
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, TextTheme theme)
Apply Theme for vendor Button (from Purpose screen) and the User Information (from Vendor screen)
- Parameters:
theme- to use as TextTheme
-
underlineForOlderApi
final static Unit underlineForOlderApi(Button $self, Integer olderThanApi)
Apply underline style only for older APIs
- Parameters:
olderThanApi- as the API version limit as Int
-
-
-
-