-
- All Implemented Interfaces:
-
com.faltenreich.skeletonlayout.SkeletonAction,com.faltenreich.skeletonlayout.SkeletonStyle
public interface Skeleton implements SkeletonStyle, SkeletonAction
-
-
Method Summary
Modifier and Type Method Description abstract IntegergetMaskColor()Color of the mask that fills the original view bounds abstract UnitsetMaskColor(Integer maskColor)Color of the mask that fills the original view bounds abstract FloatgetMaskCornerRadius()x- and y-radius of the oval used to round the mask corners abstract UnitsetMaskCornerRadius(Float maskCornerRadius)x- and y-radius of the oval used to round the mask corners abstract BooleangetShowShimmer()Animate shimmer if set to true abstract UnitsetShowShimmer(Boolean showShimmer)Animate shimmer if set to true abstract IntegergetShimmerColor()Color of the animated shimmer abstract UnitsetShimmerColor(Integer shimmerColor)Color of the animated shimmer abstract LonggetShimmerDurationInMillis()Duration in milliseconds for one shimmer animation to pass the masked view abstract UnitsetShimmerDurationInMillis(Long shimmerDurationInMillis)Duration in milliseconds for one shimmer animation to pass the masked view abstract SkeletonShimmerDirectiongetShimmerDirection()Direction of the animated shimmer abstract UnitsetShimmerDirection(SkeletonShimmerDirection shimmerDirection)Direction of the animated shimmer abstract IntegergetShimmerAngle()Angle in degrees for animated shimmer abstract UnitsetShimmerAngle(Integer shimmerAngle)Angle in degrees for animated shimmer -
-
Method Detail
-
getMaskColor
@ColorInt() abstract Integer getMaskColor()
Color of the mask that fills the original view bounds
-
setMaskColor
abstract Unit setMaskColor(Integer maskColor)
Color of the mask that fills the original view bounds
-
getMaskCornerRadius
abstract Float getMaskCornerRadius()
x- and y-radius of the oval used to round the mask corners
-
setMaskCornerRadius
abstract Unit setMaskCornerRadius(Float maskCornerRadius)
x- and y-radius of the oval used to round the mask corners
-
getShowShimmer
abstract Boolean getShowShimmer()
Animate shimmer if set to true
-
setShowShimmer
abstract Unit setShowShimmer(Boolean showShimmer)
Animate shimmer if set to true
-
getShimmerColor
@ColorInt() abstract Integer getShimmerColor()
Color of the animated shimmer
-
setShimmerColor
abstract Unit setShimmerColor(Integer shimmerColor)
Color of the animated shimmer
-
getShimmerDurationInMillis
abstract Long getShimmerDurationInMillis()
Duration in milliseconds for one shimmer animation to pass the masked view
-
setShimmerDurationInMillis
abstract Unit setShimmerDurationInMillis(Long shimmerDurationInMillis)
Duration in milliseconds for one shimmer animation to pass the masked view
-
getShimmerDirection
abstract SkeletonShimmerDirection getShimmerDirection()
Direction of the animated shimmer
-
setShimmerDirection
abstract Unit setShimmerDirection(SkeletonShimmerDirection shimmerDirection)
Direction of the animated shimmer
-
getShimmerAngle
abstract Integer getShimmerAngle()
Angle in degrees for animated shimmer
-
setShimmerAngle
abstract Unit setShimmerAngle(Integer shimmerAngle)
Angle in degrees for animated shimmer
-
-
-
-