That doesn't work when I try it on my Desire. Could that be because HTC has change their version of android a little?
// André On Feb 9, 7:38 pm, Kostya Vasilyev <kmans...@gmail.com> wrote: > Umm, you call setInputType with flags according to this: > > http://developer.android.com/reference/android/text/InputType.html > > InputType.TYPE_CLASS_TEXT > | InputType.TYPE_TEXT_FLAG_MULTI_LINE > | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS > > seems about right. > > -- Kostya > > 09.02.2011 21:27, André пишет: > > > > > > > > > > > Thanks Kostya > > > How do I do that in java? Since I want it to be an option. > > > On Feb 9, 7:24 pm, Kostya Vasilyev<kmans...@gmail.com> wrote: > >> Andre, > > >> This works for me: > > >> android:inputType="text|textMultiLine|textNoSuggestions|textCapSentences" > > >> on a Motorola Milestone with the "Motorola Keyboard", but still gives > >> suggestions with the "Mobidiv Keyboard". > > >> So it looks to be up to the IME to respect that flag, and if it ignores > >> it, then well, it ignores it. > > >> -- Kostya > > >> 09.02.2011 20:54, André пишет: > > >>> I have an edittext where i want the user to have the choice to turn > >>> off the autosuggest when typing. I tried to change the inputType but > >>> it only changed the edittext to singel line edittext which I don't > >>> want even when I included > >>> android.text.InputType.TYPE_TEXT_FLAG_MULTI_LINE. > >>> Any suggestions of how to do that? > >>> //André > >> -- > >> Kostya Vasilyev -- WiFi Manager + pretty widget > >> --http://kmansoft.wordpress.com > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- 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