... | @@ -2,7 +2,7 @@ Use different and cute ease-animations for buttons. |
... | @@ -2,7 +2,7 @@ Use different and cute ease-animations for buttons. |
|
|
|
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/ease-example.gif">
|
|
<img src="https://github.com/Nightonke/BoomMenu/blob/master/Pictures/ease-example.gif">
|
|
|
|
|
|
###Ease Animation
|
|
### Ease Animation
|
|
Ease animation, in other words, time interpolator, defines the rate of change of an animation. This allows animations
|
|
Ease animation, in other words, time interpolator, defines the rate of change of an animation. This allows animations
|
|
to have non-linear motion, such as acceleration and deceleration. Check [cubic-bezier](http://cubic-bezier.com/) to have some funs about ease animations.
|
|
to have non-linear motion, such as acceleration and deceleration. Check [cubic-bezier](http://cubic-bezier.com/) to have some funs about ease animations.
|
|
|
|
|
... | @@ -72,7 +72,7 @@ In BMB, for each boom-button, there are 6 kinds of animation when booming or re- |
... | @@ -72,7 +72,7 @@ In BMB, for each boom-button, there are 6 kinds of animation when booming or re- |
|
```
|
|
```
|
|
The default value is `EaseEnum.EaseInBack`
|
|
The default value is `EaseEnum.EaseInBack`
|
|
|
|
|
|
###Ease Enum
|
|
### Ease Enum
|
|
There are 31 kinds of ease animations. Check the [EaseEnum](https://github.com/Nightonke/BoomMenu/blob/master/boommenu/src/main/java/com/nightonke/boommenu/Animation/EaseEnum.java) file to try all the enums or in .xml:
|
|
There are 31 kinds of ease animations. Check the [EaseEnum](https://github.com/Nightonke/BoomMenu/blob/master/boommenu/src/main/java/com/nightonke/boommenu/Animation/EaseEnum.java) file to try all the enums or in .xml:
|
|
```
|
|
```
|
|
<enum name="inSine" value="0"/>
|
|
<enum name="inSine" value="0"/>
|
... | | ... | |