Friday, May 7, 2010

[android-developers] How to show numeric only pad with big numbers, such as phone type?

Hi all !

I want to use an EditText that allows only numeric decimal values,
however, I want the virtual keyboard to display big bumbers, such as
when you use a phone input type. Is this possible, or do I have to
customize the property?

In order to achieve this, what I tried was that I used the
android:inputType="phone" property in the edittext and used custom
java code to validate whether the value the user entered was a
decimal value, however some users reported that they do not have the
option to enter periods (.) using the phone pad, so this does not
allow them to enter numeric decimal values, as needed. Is there a
workaround to this situation?

Best regards,

Juan.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment