I\'ve had a good search for this on here and can\'t find a solution.
I have a TextView in a RelativeLayout which contains an integer number. The number will range be
Use android:maxLength attribute of TextView.Please read this