gpt4 book ai didi

android - 摩托罗拉仿生 - 输入类型 textPersonName 和 textCapWords 不工作

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:16:15 25 4
gpt4 key购买 nike

我无法在我的应用程序中获得 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/

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