How to combine XML attributes?
In an Android XML file, if I want to combine attributes, say, for inputType as listed in android:inputType list is it possible to get the effect of 'capitalize all characters' AND 'turn off sugg开发者_如何学编程estions'? What I want is both "textCapCharacters" and "textNoSuggestions" The doc doesn't say I can combine them, but it seems like it should be possible to do so. Is it possible to specify both somehow?
In addition, I just tried only "textNoSuggestions" with the emulator, and when I start typing something in, I still get suggestions. Is this a bug in the emulator?
TIA!
Have not tried it myself but have you read:
Must be one or more (separated by '|') of the following constant values.
Written before the table in the link you provided...
The details there suggest they can be combined with all other variations of text.
精彩评论