Created
September 28, 2016 11:59
-
-
Save jkhosla/058aa81d9ae5b012eba5fc189283540b to your computer and use it in GitHub Desktop.
Limiting text length of EditText in Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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