Sunday, January 17, 2010

[android-developers] Re: EditText := size of the text content

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate