android:inputType, textCapWords after textCapCharacters doesnt work

Lukap picture Lukap · May 31, 2011 · Viewed 11.7k times · Source

I got one EditText and I set Input filter fist I give textCapCharacters and when soft keyboard is shown it works like it should all the input is in upper case (big letters only), then I got another EditText with input filter textCapWords and when the soft keyboard is shown the letters are still in uppercase and afret input of the first character they are still in upper case just like they got input filter of textCapCharacters even the second field got the property of textCapWords. It is acting like textCapCharacters is setting some special flag that it is not cleared with others filres.

<EditText
    android:inputType="textCapCharacters" 
    />

<EditText
    android:inputType="textCapWords" 
    />

Answer