GithubHelp home page GithubHelp logo

lerist / adhesiveloadingview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yxping/adhesiveloadingview

0.0 3.0 0.0 293 KB

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

License: Apache License 2.0

Java 100.00%

adhesiveloadingview's Introduction

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引入

adhesiveloadingview's People

Contributors

yxping avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.