Hi Leigh, try this, editText.setInputType(InputType.TYPE_CLASS_NUMBER); this is for numbers.
InputType contains lot of constants like TYPE_CLASS_DATETIME, TYPE_CLASS_PHONE etc. You choose according to your requirement. Thanks On Nov 22, 7:41 pm, "Leigh" <[email protected]> wrote: > I have editText which accepts numeric details with an optional text suffix, > (ie. 90.895t). > I am using addTextChangedListeners and pattern/match to ensure correct data > entry. > > Planning to call text soft keyboard in number/symbol view initally, with text > view obtainable from this keyboard. > > I have tried inputType variations, with the only suitable view being datetime, > this however only allows enrty text entry in the datetime format. > > As the pre-existing attributes are ignored if inputType has been defined, > there is no way of tweaking inputType attributes? > > Or is there a simpler way of calling up specific soft keyboards (numeric, > symbol, text)? -- You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en

