Hi,

Any suggestion?

Thanks


On Jan 29, 7:49 am, android beginner <[email protected]>
>>> wrote:
>>> > Hi,
>>> >
>>> > I made the EditText to accept only 4 characters, but my question was
>>> > different. sorry for not being clear.
>>> >
>>> > When the EditText comes up, by default its very small(equavalent to one
>>> > character length) and on entering characters it re-sizes itself. I do
>>> not
>>> > want it to resize, but fixed size of 4 characters.
>>> >
>>> > Thanks
>>> >
>>> >
>>> >
>>> > On Fri, Jan 29, 2010 at 1:08 PM, Zsolt Vasvari <[email protected]>
>>> wrote:
>>> > > It helps reading the documentation, but here's your answer:
>>> >
>>> > >        addFilter(view, new InputFilter.LengthFilter(maxLength));
>>> >
>>> > > On Jan 29, 7:00 am, android beginner <[email protected]>
>>> > > wrote:
>>> > >  > Hi,
>>> >
>>> > > > I need to have an EditText with maximum width for 4 characters. I
>>> do not
>>> > > > want set maximum width in pixels as I have my target with couple of
>>> > > > different screen resolutions.
>>> >
>>> > > > Can anyone suggest me how to do this?
>>> >
>>> > > > Thanks
>>> >
>>> > > --
>>> > > You received this message because you are subscribed to the Google
>>> > > Groups "Android Developers" group.
>>> > > To post to this group, send email to
>>> [email protected]
>>> > > To unsubscribe from this group, send email to
>>> > > [email protected]<android-developers%[email protected]><android-developers%2Bunsubs
>>> [email protected]>
>>> > > For more options, visit this group at
>>> > >http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>
>
> --
> Thanks & Regards
> Sasikumar.S
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to