Nope, I had to define a custom keyboard in the end to make my app useable.
On Dec 22 2009, 3:21 pm, level32 <[email protected]> wrote: > Ever get an answer for this issue? > > On Nov 27, 9:17 am, Lee <[email protected]> wrote: > > > > > Thanks for quick answer, > > > And for useful way for setting the InputType in code, > > > My problem is once the InputType is set, along with selecting the > > keyboard view, the text formatting is also controlled. Is it possible > > to hide the data formating using TYPE_MASK_CLASS or TYPE_MASK_FLAGS? I > > have tried several variations but to no avail. > > > I plan to enter numeric data first, with an optional text suffix into > > one editBox, without having to pressing tye '?123' key on text > > keyboard to enter the inital numeric data. > > > Any ideas? > > > On Nov 23, 2:52 pm, Nithin <[email protected]> wrote: > > > > 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)?- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android 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

