I have an EditText box in my android app, and when I click on it to input something, the default input languange is in normal keypad. Can I change it to edit for email-id?
i want @ and .com in my keyboard while entering mail-id .
when i try to use maildId.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS); it show error Fatal exception .
You can use input type as:
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/email"
android:inputType="textEmailAddress"
/>
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments