I have take TextInputEditText for first name only accepts alphabets but i have got problem.
<android.support.design.widget.TextInputLayout
android:id="@+id/tvfnameinput"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TextInputEditText
android:id="@+id/etFirstname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:digits="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
android:hint="firstname"
android:imeOptions="actionNext"
android:maxLength="12"
android:maxLines="1"
android:text="" />
</android.support.design.widget.TextInputLayout>
As you see in above layout i have set maxlength 12 so if i have enter 12 numeric value then it's not accepts but it's count so i can't able to enter alphabets after entering 12 numeric value.
NOTE-: I want just alphabets and my code is working but when i entered numeric value then it's not accept but count as a maxlenght.
Edit-: android:imeOptions="actionNext" not show on Keyboard when i have set android:digits="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"