GithubHelp home page GithubHelp logo

xdroidanimation's Introduction

XDroidAnimation

简单创建属性动画 #Provide 1.渐变Alpha动画(AlphaAnimation),支持多值 2.旋转Rotate动画(RotateAnimation),支持设置轴点 3.缩放Scale动画(ScaleAnimation),支持多值,,支持设置轴点 4.全屏滑动Slide动画(SlideAnimation),支持上下左右四个方向移入与移出 5.自身控件范围内滑动动画(SlideUnderneathAnimation),支持上下左右四个方向移入与移出 6.抖动Shake动画(ShakeAnimation),支持垂直与水平抖动 7.视图位移Transfer动画(TransferAnimation) 8.窗帘动画(BlindAnimation),支持上下左右四个方向移入与移出,支持设置轴点 9.翻转动画(FlipAnimation),支持垂直与水平翻转,支持设置轴点 10.View转换翻转动画(FlipToAnimation),一个View翻转成另一个View,支持垂直与水平翻转,支持设置轴点 11.膨胀动画(PuffAnimation), 支持进入,淡出,支持设置轴点 12.组合动画(CombinationAnimation)将一系列动画组合到一起,同时执行 13.颜色动画(ColorAnimation),支持 多属性、多值 设定 14.伸缩动画(TelescopicAnimation),支持 进入与移出、高度与宽度伸缩 15.路径动画(PathAnimation) 16.多种自定义的Interpolate插值器 17.SVG动画(SVGAnimationView) #Here is the sample Download demo.apk #Screenshot

Usage

以下为一个片段

AnimationKit.createSlideUnderneathAnimation(button).setDuration(1000)
            .setInterpolator(new DecelerateInterpolator())
            .setDirection(Direction.DIRECTION_RIGHT)
	    .setSlideMode(SlideMode.OUT)
	    .animate();

具体请见Demo中MainActivity.java #Thanks EasyAndroidAnimations
EaseInterpolator #About me Email:[email protected]
Blog:www.robinx.net

xdroidanimation's People

Contributors

robinxdroid avatar

Watchers

 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.