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?
TextView tv = new TextView(this); tv.setFilters(new InputFilter[]{ new InputFilter.LengthFilter(250) });