android-edittext allow only characters and numbers and space code example
Example: android-edittext allow only characters and numbers
android:digits="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
android:inputType="textCapCharacters"