Kurt
Kurt

Reputation: 777

Caps only keypad

I have a bunch of EditTexts, and when the user clicks on these a keypad comes up and the user can enter some text.

I want to make it so that the keypad is all in capital letters (i.e. caps lock permanently on).

Is this possible?

Upvotes: 3

Views: 118

Answers (1)

Roberto
Roberto

Reputation: 997

You could try using android:inputType = "textCapCharacters" in the EditText tag of your XML file.

Upvotes: 2

Related Questions