gpt4 book ai didi

android - android :inputType ="textPersonName" for EditText有什么特别之处

转载 作者:IT老高 更新时间:2023-10-28 22:02:51 29 4
gpt4 key购买 nike

我试过了

        <EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPersonName" >

我知道它可以接受任何字符。那么,与没有它相比,拥有 android:inputType="textPersonName" 有什么特别之处呢?

最佳答案

不同的是,如果使用“textPersonName”,用户不能插入新行(不显示回车按钮)

关于android - android :inputType ="textPersonName" for EditText有什么特别之处,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11731961/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com