Skip to content

Instantly share code, notes, and snippets.

@jkhosla
Created September 28, 2016 11:59
Show Gist options
  • Save jkhosla/058aa81d9ae5b012eba5fc189283540b to your computer and use it in GitHub Desktop.
Save jkhosla/058aa81d9ae5b012eba5fc189283540b to your computer and use it in GitHub Desktop.
Limiting text length of EditText in Android
//for minSDKVersion 16
// in the layout xml on the editText
android:maxLength="5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment