Skip to content Skip to sidebar Skip to footer

Initial Keyboard On Lowercase

When I click on a InputText, the first letter of the keyboard begins on uppercase. As I am entering an e-mail, the ideal would always be lowercase. Is possible set this programatic

Solution 1:

In your XML file, you can use android:inputType. to set the field is a email input type.

Programmatically, you can do that with setInputType()

You can specify that myEditText is an email field in your XML file :

android:inputType="textEmailAddress"

Or programmatically:

myEditText.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);

Solution 2:

Post a Comment for "Initial Keyboard On Lowercase"