The WiFi refresh menu action button shall spin until the refreshed view is shown.
This is a bit complicated since the SDK has problems with AppCompat and uses a dumb system regarding drawable rotations. Just complicated and not helpful at all.
So best way:
- Write our own RotateDrawable, where you can just set the angle (and not some awkward "level" that ranges from 0 - 10000)
- If possible embed it in XML
- Use the new drawable as icon
- Use an animator with linear interpolation that sets the angle
- Maybe make a completely own Animator class that just needs the new RotateDrawable target. But some properties should be left open, like interpolation etc.
The WiFi refresh menu action button shall spin until the refreshed view is shown.
This is a bit complicated since the SDK has problems with AppCompat and uses a dumb system regarding drawable rotations. Just complicated and not helpful at all.
So best way: