sharing everything

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

My name is Toto Sugito. This is my notes when I try something. Maybe, this is NOT THE BEST SOLUTION for your problems. If you have other method or idea that better with my post, please share in this blog. Thank for visiting my site.

No Comments Yet

Leave a Reply

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

 

Categories

Bloggers - Meet Millions of Bloggers