I'm working on a custom keyboard implementation overriding an
InputMethodService. Our implementation creates composing text for
predictions within the text field, styled appropriately. For instance,
a user typing "pine" would have "pineapple" shown with the "apple"
showing as gray since the user hasn't committed it, using the
inputConnection.setComposingText(sbb,...) method. Everything works
very well unless there are multiple text fields on screen and the user
taps a different field. By the time my service is in onFinishInput()
before I ever call the super.onFinishInput() the composing text has
already had its SPAN_COMPOSING styling removed, but the completed text
is still there. I can find no way to reliably remove the unaccepted
"apple" to yield "pine". Thoughts?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to