So far it's known that we can't center align a spinner text.
What I'm sharing now is a workaround that doesn't a perfect alignment but at least minimises the problem.
The trick is changing the spinner left padding based on the item(text) width.
The text is measured using Canvas.
X is the item...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.