Interface DynamicTintWidget
- All Known Implementing Classes:
ColorPalettePreference
,DynamicAppThemePreference
,DynamicBackgroundView
,DynamicButton
,DynamicCheckPreference
,DynamicChip
,DynamicColorCompact
,DynamicColorMenu
,DynamicColorPicker
,DynamicColorPreference
,DynamicColorView
,DynamicDayThemePreference
,DynamicDivider
,DynamicDragIndicator
,DynamicEmptyView
,DynamicEmptyViewBig
,DynamicForegroundLinearLayout
,DynamicFrameLayout
,DynamicHeader
,DynamicHeaderDialog
,DynamicHeaderImageView
,DynamicImageButton
,DynamicImagePreference
,DynamicImageView
,DynamicInfoView
,DynamicInfoViewBig
,DynamicInfoViewBigAuthor
,DynamicItemView
,DynamicItemViewDialog
,DynamicLinearLayout
,DynamicLinearLayoutCompat
,DynamicLocalePreference
,DynamicNavigationMenuItemView
,DynamicNightThemePreference
,DynamicPreference
,DynamicRelativeLayout
,DynamicRemoteThemePreference
,DynamicRemoteThemePreview
,DynamicScreenPreference
,DynamicSeekBarCompact
,DynamicSeekBarHue
,DynamicSeekBarPreference
,DynamicShadowDivider
,DynamicSimplePreference
,DynamicSliderCompact
,DynamicSliderFloat
,DynamicSliderHue
,DynamicSliderPreference
,DynamicSpinnerPreference
,DynamicSpinnerView
,DynamicSpinnerViewDialog
,DynamicThemePreference
,DynamicThemePreview
,DynamicThemeVersionPreference
,DynamicToastPreference
,DynamicView
,DynamicViewPager2Layout
,ThemeAppShortcutsPreference
,ThemeCheckPreference
,ThemeNavigationBarPreference
,ThemePreference
,ThemePreview
,ThemeReceiverPreference
public interface DynamicTintWidget
Interface to create dynamic widgets with tint options which can be used to tint their
background, etc. according to the
DynamicTheme
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the borderless style is applied to this widget.boolean
Returns whether to tint the background.void
setStyleBorderless
(boolean styleBorderless) Sets whether the borderless style is applied to this widget.void
setTintBackground
(boolean tintBackground) Set the background tinting option for this widget.
-
Method Details
-
isTintBackground
boolean isTintBackground()Returns whether to tint the background.- Returns:
true
to tint background according to the widget color.
-
setTintBackground
void setTintBackground(boolean tintBackground) Set the background tinting option for this widget.- Parameters:
tintBackground
-true
to tint background according to the widget color.
-
isStyleBorderless
boolean isStyleBorderless()Returns whether the borderless style is applied to this widget.- Returns:
true
if the borderless style is applied to this widget.
-
setStyleBorderless
void setStyleBorderless(boolean styleBorderless) Sets whether the borderless style is applied to this widget.- Parameters:
styleBorderless
-true
if the borderless style is applied to this widget.
-