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?
Documentation
Example
android:maxLength="10"