开发者

android:inputType, textCapWords after textCapCharacters doesnt work

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 开发者_JS百科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" 
    />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜