It was quite easy to make some of the input fields use the “auto caps” feature of android. Now while deadly for some people and a bit annoying for others, this was one of the first requests I got for AndroBlip .I’m not going to go for the autocomplete stuff, as this feels like a bridge to far.

Anyway, we were talking about android coding, not AndroBlip.
So there is an EditText view in the layout called “editTextId“, and we set it for Capitalization like so:

EditText myEditText = (EditText) findViewById(;
myEditText.setInputType(InputType.TYPE_CLASS_TEXT |

Now i don’t know if you can do this in XML, but this works fine ;).

2 comments on Automatic EditView capitalization

  1. Priya says:

    Thanks this worked …

  2. kartheeki says:

    This is worked for first time only,,,
    whenever i delete the text and type the text again, it is not worked,