[android] Set inputType for an EditText Programmatically?

field.setInputType(InputType.TYPE_CLASS_TEXT);