I’m new in android development, I’m using the setRotation method to rotate the whole layout, but I want to set the duration of the rotation
while (fromDegree < toDegree) {
fromDegree++;
myLayout.setRotation(fromDegree);
}
can any one please help
Use Handler class with PostDelayed method.
Example: