My application uses an EditText box to input information that is not
English words.
When I do this i get the candidates view (which I normally love :)
with suggestions for known words.
I do not want to pollute my word list by saving what I typed so I want
to turn off candidates view for this text box.
I have searched the documentation and WEB but could not find the
answer.
I have tried two methods:
1. Set the XML property "input type" to various values.
With this I can't find one that lets me input 'raw' text without a
candidates view.
2. Use InputMethodService
static InputMethodService mInputService;
mInputService=new InputMethodService();
mInputService.setCandidatesViewShown(false);
Whenever i try the last line my app 'has stopped unexpectedly'
I would prefer to understand the second method, but would be happy
for
the first one to work, for now. :)
Any and all help is greatly appreciated.
--
Morten
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment