有什么特殊的机器人:inputType =" textPersonName"为的EditText [英] What is special about android:inputType="textPersonName" for EditText
本文介绍了有什么特殊的机器人:inputType =" textPersonName"为的EditText的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试过
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPersonName" >
我知道它可以接受任何字符。那么,什么是特别的有安卓?相比并没有把inputType =textPersonName
,
推荐答案
所不同的是,如果你使用textPersonName,用户不能插入新行(回车按钮没有显示)
The difference is that if you use "textPersonName", the user can not insert new lines (the enter button is not showed)
这篇关于有什么特殊的机器人:inputType =&QUOT; textPersonName&QUOT;为的EditText的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文