How do you set the max number of characters for an Android EditText input? I see setMaxLines, setMaxEMS, but nothing for the number of characters.
In XML you can add this line to the EditText
View
where 140 is the maximum number of characters:
android:maxLength="140"