Builds the shimmer based on your assigned properties by given UI.ShimmerFlexLayout.Android.Shimmer. This method must be used after all other propertis of ShimmerFlexLayout is assigned.
build
3.1.3
Sets the animation duration.
3.1.3
Controls the brightness of the highlight at the center.
= 0]
3.1.3
Set animation repeat count.
3.1.3
Angle at which the highlight is tilted, measured in degrees.
= 20]
3.1.3
Set the shimmer's highlight color. This property must be used if given shimmer type is UI.ShimmerFlexLayout.Android.Shimmer.ColorHighlight
3.1.3
Set base color of content. This property must be used if given shimmer type is UI.ShimmerFlexLayout.Android.Shimmer.ColorHighlight
3.1.3
Set the alpha of the shimmer highlight.
3.1.3
Readonly
yogaGets/sets over-scroll mode for this view.
= UI.Android.OverScrollMode.ALWAYS]
3.0.2
Gets/sets foreground of the view for ripple effect. This property should be set before rippleColor. This property only supported for api level 23 and above.
= false]
UI.View
4.0.2
Gets/sets ripple effect enabled for view. You should set UI.View#rippleColor rippleColor to see the effect.
= false]
UI.View
3.2.1
Gets/sets ripple effect color for view.
UI.View
3.2.1
Gets/Sets the elevation of the view. For the views that has StateListAnimator natively like Button, will lost its own StateListAnimation when elevation value changed. For details : https://developer.android.com/training/material/shadows-clipping.html
UI.View
1.1.12
Gets/sets the depth location of the view relative to its elevation. To put view over button, you have to change zIndex value after Android Lollipop. On android, default elevation value of button is bigger than other view. This property affects after Android Lollipop. No-op before api level 21.
UI.View
2.0.8
Sets/gets top-left corner radius of a view.
= 0]
5.1.1
Sets/gets top-right corner radius of a view.
= 0]
5.1.1
Sets/gets top-start corner radius of a view.
= -1]
5.1.1
Sets/gets top-end corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-left corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-right corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-start corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-end corner radius of a view.
= -1]
5.1.1
Generated using TypeDoc
Since
3.1.3
This class provides an easy way to add a shimmer effect to any view. It is useful as an unobtrusive loading indicator.
Example