May 16, 2016
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.