我希望每个词都应在Edittext中以大写字母开头,例如:-
约翰·史密斯(John Smith)应该写成约翰·史密斯(John Smith)我该如何实现?
设置android:inputType="textCapWords"为您的edittext xml。
android:inputType="textCapWords"
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
点击生成二维码
我来说两句