You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Default true. The Lottie is Overlay the content or not -->
<attr name="lottie_srl_indicator_overlay" format="boolean" />
<!-- Default loader_...json. The lottie json raw file -->
<attr name="lottie_srl_rawRes" format="reference" />
<!-- Default is 40dp. The Lottie Animation size -->
<attr name="lottie_srl_size" format="dimension" />
<!-- Default true. If true, the tint color is Black if them light, or White if theme dard/night -->
<attr name="lottie_srl_auto_tint" format="boolean" />
<!-- Default is 12dp. The Spacing between Lottie View and Top/bottom -->
<attr name="lottie_srl_spacing_top" format="dimension" />
<attr name="lottie_srl_spacing_bottom" format="dimension" />
<!-- Default false. Additional animation -->
<attr name="lottie_srl_scale_enabled" format="boolean" />
<attr name="lottie_srl_alpha_enabled" format="boolean" />
Customize/Default value
- var indicatorOverlay: Boolean = false // Whether to overlay the indicator on top of the content or not
- var autoTintColor: Boolean = false // Whether auto tint color by theme
- var mScale = false // Whether this item is scaled up rather than clipped
- var mAlpha = false // Whether this item is alpha up rather than clipped
- var lottieTopSpacing: Boolean = 12dp
- var lottieBottomSpacing = 12dp
- fun setSizePx(px) // lottieSize
- fun setProgressVerticalPadding(topSpacingPx, bottomSpacingPx): default 12dp, 12dp