In my android project I want a textfield of type personname where by default caps lock is activated, however, this code isn\'t working.
Use
android:inputType="textPersonName|textCapWords"
as using only "textPersonName" is not enough so name's first letters would be capitalized.
"textPersonName"
Similarly with postal addresses:
android:inputType="textPostalAddress|textCapSentences"