Skip to content

czy1121/loading

Repository files navigation

loading

一些 loading 动画

calcMode="discrete"

这指定了动画函数将从一个值跳转到下一个值,而不需要任何插值。

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/calcMode

安卓的 animated-vector 不支持 discrete,也难以实现类似的效果

Preview

Gradle

repositories {
    maven { url "https://gitee.com/ezy/repo/raw/cosmo/"}
}
dependencies { 
    implementation "me.reezy.cosmo:loading:0.8.0" 
}

参考

https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable.html https://developer.android.com/reference/android/animation/ObjectAnimator https://developer.android.com/guide/topics/resources/animation-resource

https://www.nan.fyi/svg-paths/ https://developer.mozilla.org/zh-CN/docs/Web/SVG/Tutorial/Paths

https://github.com/n3r4zzurr0/svg-spinners

SMIL Animation
https://www.w3.org/TR/2001/REC-smil-animation-20010904/

LICENSE

The Component is open-sourced software licensed under the Apache license.

About

一些 loading 动画

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages