RotateDrawable
RotateDrawable is a drawable in the Android SDK that allows for the rotation of another drawable. It is commonly used to create visual effects or to indicate the orientation of an object. The drawable to be rotated is specified, along with an angle of rotation. This angle can be static or dynamically updated at runtime.
When a RotateDrawable is drawn, it first rotates its child drawable by the specified angle around its
A common use case for RotateDrawable is to display a rotating indicator, such as a loading spinner
The rotation angle is usually specified in degrees. It can be set directly in XML layout files