Button Android text automatic forced to All Caps

I have created a simple button in Android and set a Text to this button. But, I get result all text in my Button become All Capitals.

Solve this problem (Button Android text automatic forced to All Caps) is very simple. We can set “setTransformationMethod” to ignore automatic convert our text in Android Button become all Capitals. Add this code below your button :

Hope this tips can help to prevent our text in Android Button become All Capitals.

Source :

http://stackoverflow.com/questions/26958909/why-is-my-button-text-forced-to-all-caps-on-lollipop

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.