hi add android:gravity="center" android:maxLength="3" into ur layout file in the edit text tag
On Jan 17, 8:20 am, Helloween <parin.choganw...@gmail.com> wrote: > Hi All, > > I am beginner in Android development. How do I restrict the size of > text ( e.g. I just want 3 character in edit text)? > Also How do I align text in center within Edittext? > > Please let me know? > Thank You
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en