Android Animations Actions

Additional

Language
Java
Version
N/A
Created
Aug 10, 2015
Updated
Apr 18, 2017 (Retired)
Owner
dtx12
Contributors
Huqiu Liao (liaohuqiu)
dtx12
2
Activity
Badge
Generate
Download
Source code
APK file

Show card

Android Animations Actions

Actions for android animations. Inspired by libgdx scene2d actions.

The main goal of this project is making creating of complex animations easier. You may create animations like in demo with just a couple lines of code.

##Actions sequence - executes actions sequentially forever - repeats action infinite
repeat - repeats action using defined number of times
moveBy - moves view by defined x, y
moveTo - moves view to defined x, y
rotateBy - rotates view by defined degree
rotateTo - rotates view to defined degree
fadeOut - fades alpha to 0
fadeIn - fades alpha to 1
alpha - alpha animation
scaleBy - scales view by defined values
scaleTo - scales view to defined values
color - color animation for view
parallel - executes actions at the same time
run - will run target runnable, useful in sequences
delay - inserts pause into sequence


play - plays specified action on specified view

##Interpolations Library contains class Interpolations with different predefined interpolations which may be useful for animations.

Demo

For better quality please check package demo in the project.

Gradle

repositories {
    jcenter()
}

dependencies {
    compile 'com.dtx12:actions:0.1.4'
}