Created
March 4, 2019 06:08
-
-
Save saishaddai/6d31ca1ab1e2f6c86ad66dff53300d78 to your computer and use it in GitHub Desktop.
anim for android to get a bouncing View
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"> | |
<set xmlns:android="http://schemas.android.com/apk/res/android" | |
android:fillAfter="true" android:interpolator="@android:anim/bounce_interpolator"> | |
<scale | |
android:fromXScale="1.0dp" | |
android:fromYScale="0.0dp" | |
android:toXScale="1.0dp" | |
android:toYScale="1.0dp" | |
android:duration="600" /> | |
</set> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
simple bounce animation, it should be added as resource file inside anim directory