Answers for "how to animate image button in android studio"

0

how to animate image button in android studio

<?xml version="1.0" encoding="utf-8"?>
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:duration="1000"
    android:fromDegrees="0"
    android:interpolator="@android:anim/linear_interpolator"
    android:pivotX="50%"
    android:pivotY="50%"
    android:repeatCount="infinite"
    android:startOffset="0"
    android:toDegrees="360" />
Posted by: Guest on January-22-2022
0

how to animate image button in android studio

RotateAnimation rotateAnimation = (RotateAnimation) AnimationUtils.loadAnimation(context,R.anim.rotate);
view.startAnimation(rotateAnimation);
Posted by: Guest on January-22-2022

Code answers related to "how to animate image button in android studio"

Browse Popular Code Answers by Language