How to capitalize every letter in an Android EditText?
问题 I have an array of editTexts which I make like this: inputs[i] = new EditText(this); inputs[i].setWidth(376); inputs[i].setInputType(InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS); tFields.addView(inputs[i]); I want every character to be capitalized. Right now, the first letter of the first word is lowercase, then all the characters afterwords are upper case. I can take what the user inputs after they are done and convert that to uppercase, but that's not really what I'm going for. Is there a way