What\'s the best way to limit the text length of an EditText in Android?
EditText
Is there a way to do this via xml?
Try this for Java programmatically:
myEditText(new InputFilter[] {new InputFilter.LengthFilter(CUSTOM_MAX_LEN)});