I want edit Text should be validated characters alone allowed , character & number allowed but number alone not allowed.so can you help me with above issue. I cant able to fix can you help with this.
Below is the sample code. I want edit Text should be validated characters alone allowed , character & number allowed but number alone not allowed.so can you help me with above issue. I cant able to fix can you help with this.Below is the sample code.
Like this gavin - allowed, gavin1222 - allowed, 15 - not allowed
i want to validate - text with numbers allowed and numbers only not allowed
<EditText
android:id="@+id/edit_employee_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="20dp"
android:layout_marginLeft="20dp"
android:background="@drawable/edittext_background"
android:fontFamily="@font/poppins_medium"
android:gravity="start"
android:hint="Beautician Name"
android:inputType="textPersonName||number"
android:maxLength="25"
android:padding="10dp"
android:singleLine="true"
android:text=""
android:textSize="14sp" />