Allow only decimal numeric input and use phone soft keyboard?

by Nmix » Fri, 23 Apr 2010 12:30:35 GMT

Sponsored Links
 Try adding the following line to the xml to filter for integer input:


I've had some success using android:inputType to select the soft
keyboard and android:digits to filter which keys are accepted.


Allow only decimal numeric input and use phone soft keyboard?

by jamesc » Fri, 23 Apr 2010 13:44:00 GMT

 >From reading this: 

it looks like you need TYPE_CLASS_NUMBER.


Sponsored Links

Other Threads

1. A week of judging ADC2 apps. Contestants share your experience.

It's now a week since the launch of judging app and we are half way
through judging(filtering) for ADC2-Round1. Hopefully contestants with
server apps by now have a story to share with others without a server
component and are yet in dark about what's happening out there.

If you have a server app share your experience. Judging Hits, User
Demography, Time spent, % of modules accessed etc...


2. WebServer Android

Good Morning,
I'm a student and I'm working in a thesis about Android; i'd like to
know if
there are web server which can be installed in Android; at the moment
only one i could find is i-jetty.
Thanks for attention,

Melpignano Fabio


3. G.711 deployment with Android

4. Can't update app of ADC2, can't publish on Market in same package...

5. Custom Data source in Android

6. invalidate thumbnails in a GridView

7. change color of fading edge in listview