I want to restrict the chars to 0-9, a-z, A-Z and spacebar only. Setting inputtype I can limit to digits but I cannot figure out the ways of Inputfilter looking through the
In addition to the accepted answer, it is also possible to use e.g.: android:inputType="textCapCharacters" as an attribute of in order to only accept upper case characters (and numbers).