You can set various input types by using predefined XML attributes, or
making a custom one.  The predefined types may fulfill your needs,
specifically android:digits.  As for the date, I couldn't find the XML
version, but you could do is programatically by
myEditText.setInputMethod(myInputMethod) where myInputMethod is an
instance of DateInputMethod.

On Apr 24, 8:08 pm, shaimailit <[EMAIL PROTECTED]> wrote:
> Hi,
> Some of my input fields are of specific data types.
> Therefore, I want to add to my EditText controls implementation of
> mask (the mask will control the input limitiations).
> Masks for example:
> Decimal - N.N (Numeric is not good enought, because it doesn't allow
> decimal point).
> Date - DD/MM/YYYY
>
> How can I acheive this?
>
> Thanks,
> Shai
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to