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?
You can use android:maxLength="10" in the EditText.(Here the limit is upto 10 characters)
android:maxLength="10"