Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请描述 Eclipse 中输入类型的特性
我正在尝试使用 ADT(或 ADP,不知道)在 Eclipse 中编写适用于 Android 的应用程序,我有一个输入类型为“人名”的文本字段。我认为这种输入类型会将单词大写,但它不会这样做 - 我尝试在 AVD 上运行它,它甚至不会将单词大写,它也阻止我输入大写。
是我的错还是 AVD 中的一些错误?
在您的 Xml 中,将您的 edittext 的输入类型设置为
android:inputType="textPersonName|textCapWords"
这将允许您输入大写字母