BlazeWidgetShimmeringStyle - Android
BlazeWidgetShimmeringStyle defines the colors used for the shimmering (loading) animation displayed while a widget's content is loading.
It is exposed via the shimmering property on BlazeWidgetLayout.
data class BlazeWidgetShimmeringStyle(
@ColorInt var baseColor: Int,
@ColorInt var highlightColor: Int
)Properties
baseColor
The base color of the shimmer sweep — the color of the non-highlighted area of the skeleton placeholder.
- Default:
0x4cffffff(semi-transparent white) - Type:
@ColorInt Int
highlightColor
The highlight color of the shimmer sweep — the brightest color at the center of the moving gradient.
- Default:
Color.WHITE - Type:
@ColorInt Int
Updated 22 days ago
Did this page help you?
