Basic spinner
suggest changeThe Spinner can be reskinned according to your own style requirements using a Nine Patch.
As an example, see this Nine Patch:
It has three very small stretch regions marked.
The top border marks only the area to the left of the icon. That tells the framework to stretch the transparent left side until the icon is reached.
The left border marks transparent segments at the top and bottom of the icon. The top and bottom stretch to the height of the Spinner, which leaves the icon centered vertically.
Using the image without Nine Patch metadata:
Using the image with Nine Patch metadata:
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents