loeschg loeschg - 15 days ago 5
Android Question

Motorola Bionic - input type textPersonName and textCapWords not working

I can't get an EditText field in my app to actually work with inputType="textCapWords" or "textPersonName" on a Droid Bionic. Other phones I've tested seem to be fine. None of the capitalization inputTypes seem to work. I've also tried the deprecated capitalization attribute. And setting things programmatically.

Has anyone else run into this problem? Any suggestions aside from implementing custom functionality using 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"/>

Answer

Either this is a problem specific to me, or nobody seems to have a solution. Went with a TextWatcher solution. Will change this if anybody else comes up with a solution.