Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dtx12/AndroidAnimationsActions
Actions for android animations. Inspired by libgdx scene2d actions.
https://github.com/dtx12/AndroidAnimationsActions
Last synced: 3 months ago
JSON representation
Actions for android animations. Inspired by libgdx scene2d actions.
- Host: GitHub
- URL: https://github.com/dtx12/AndroidAnimationsActions
- Owner: dtx12
- License: mit
- Created: 2015-08-09T21:17:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T19:22:50.000Z (almost 4 years ago)
- Last Synced: 2024-04-25T22:34:10.786Z (6 months ago)
- Language: Java
- Size: 104 KB
- Stars: 137
- Watchers: 10
- Forks: 27
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android - Android-View-Actions - Makes creating complex animations for views easy. (Libraries / GUI)
- awesome-android - Android-View-Actions - Makes creating complex animations for views easy. (Libraries / GUI)
- awesome-android-cn - 官网
README
[![Android Gems](http://www.android-gems.com/badge/dtx12/AndroidAnimationsActions.svg?branch=master)](http://www.android-gems.com/lib/dtx12/AndroidAnimationsActions)
# 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
`delay` - inserts pause into sequence
`run` - will run target runnable, useful in sequences
`parallel` - executes actions at the same time
`color` - color animation for view
`scaleTo` - scales view to defined values
`scaleBy` - scales view by defined values
`alpha` - alpha animation
`fadeIn` - fades alpha to 1
`fadeOut` - fades alpha to 0
`rotateTo` - rotates view to defined degree
`rotateBy` - rotates view by defined degree
`moveTo` - moves view to defined x, y
`moveBy` - moves view by defined x, y
`repeat` - repeats action using defined number of times
`forever` - repeats action infinite`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.
![](http://i.imgur.com/EueRBrp.gif)## Gradle
```java
repositories {
jcenter()
}dependencies {
compile 'com.dtx12:actions:0.1.4'
}
```