Created
November 14, 2014 13:02
-
-
Save Bhavdip/632f9c633277dc20e71f to your computer and use it in GitHub Desktop.
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
| <scale xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:duration="1000" | |
| android:fromXScale="1" | |
| android:fromYScale="1" | |
| android:pivotX="50%" | |
| android:pivotY="50%" | |
| android:repeatCount="1" | |
| android:repeatMode="reverse" | |
| android:toXScale="0.5" | |
| android:toYScale="0.5" /> | |
| ImageView imageView = (ImageView) findViewById(R.id.image); | |
| Animation pulse = AnimationUtils.loadAnimation(this, R.anim.pulse); | |
| imageView.startAnimation(pulse); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment