Looks like I spoke too soon. I must not have tried the combination before, but specifying:
android:inputType="number" android:digits=".... does exactly what I need. I get the symbols soft keyboard and it is free form input with the characters I specify in android:digits. It isn't what I expected, but it works so I won't complain. On Apr 5, 9:40 am, Nmix <nepean...@gmail.com> wrote: > Thanks, but that does not solve my problem. I specify android:digits > because the acceptable characters for the EditText are more than just > numerals. From my brief perusal of the IME samples in the SDK (not the > actual Android source code), specifying android:digits always brings > up the qwerty softkeyboard, which is not what I want. > > On Apr 5, 4:26 am, Kumar Bibek <coomar....@gmail.com> wrote: > > > For your edit text, use this property. > > android:inputType="number" > > > This will pop up thekeyboardwith numbers only. But in this case you > > will not be able to enter anything other than numbers. > > Thanks and Regards, > > Kumar Bibek > > > On Apr 5, 12:57 am, Nmix <nepean...@gmail.com> wrote: > > > > I have an EditText that specifies android:digits where all the > > > specified characters are on the standard symbols softkeyboard. > > > Unfortunately it seems that just using android:digits is enough to > > > always cause the qwertykeyboardto pop up. Always having to press the > > > 123? key for that one EditText is a bit inconvenient for my users and, > > > sad to say, it's a difficult concept for a few. > > > > Apart from writing up a custom IME, is there a way toforcethe > > > symbolskeyboardon an EditText? I did look around and even try a few > > > things, but I'm now thinking this isn't possible. Hopefully I'm wrong. > > > Thanks. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en