- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我无法在我的应用程序中获得 EditText 字段以在 Droid Bionic 上实际使用 inputType="textCapWords"或 "textPersonName"。我测试过的其他手机似乎没问题。大写输入类型似乎都不起作用。我还尝试过弃用的大写属性。并以编程方式设置。
有没有其他人遇到过这个问题?除了使用 TextWatcher 实现自定义功能之外还有什么建议吗?
<EditText
android:id="@+id/last_name_editor"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/last_name"
android:inputType="textCapWords"/>
最佳答案
你能检查一下你的设备键盘设置吗?在某些设备(Samsung Note 2)中,他们提供自动大写检查/UN-check 选项。
关于android - 摩托罗拉仿生 - 输入类型 textPersonName 和 textCapWords 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15141757/
我这里有一个 EditText,它是我从 dialog example 复制的. textPersonName然而并没有像我期望的那样大写,这是在他们名字中的每个单词之前将键盘放入大写。我发现自己在使
这个问题已经有答案了: How do I compare strings in Java? (23 个回答) 已关闭10 年前。 我的 Activity 是一个简单的登录 Activity (仅用于测
我试过了 我知道它可以接受任何字符。那么,与没有它相比,拥有 android:inputType="textPersonName" 有什么特别之处呢? 最佳答案 不同的是,如果使用“
我无法在我的应用程序中获得 EditText 字段以在 Droid Bionic 上实际使用 inputType="textCapWords"或 "textPersonName"。我测试过的其他手机似
我是一名优秀的程序员,十分优秀!