X Tutup
The Wayback Machine - https://web.archive.org/web/20201211141225/https://github.com/yxping/AdhesiveLoadingView
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AdhesiveLoadingView

一个具有粘性的滑动小球,具有跌落反弹形成文字的效果,形成loading字样

效果

项目结构

这个动画包括了三个过程:   1.小球旋转放大,其中还有震动效果   2.小球缩小衍生水滴,迅速跌落   3.文字弹出展现

在结构上是主要是通过controller对三个animator进行一个控制,并作为其中的信息传递媒介链接各个animator,将canvas分发给animator进行绘制。而view通过controller的初始化来达到展示动画的效果。其中,动画的效果是由AnimationSet进行顺序的控制。

用法

1.通过xml引入

<com.yxp.loading.lib.AdhesionLoadingView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"/>

2.通过java引入

About

具有粘性的滑动小球,跌落反弹形成loading的效果

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.
X Tutup