I have a bug where the extract UI - where the text a user types is 
displayed while in full-screen IME mode - isn't actually showing any user 
input. You can see a screenshot on our bug tracker 
here: https://github.com/flutter/flutter/issues/4899 . Any text you type 
while in landscape (full-screen) mode does not appear.

My question is: what component is in charge of showing this text? Is it the 
EditText widget? If I don't have an associated EditText, how can I display 
an extract UI?

Ours is not a typical use case, so I'll try to provide as many relevant 
details as I can:
- I work on Flutter, where our Android "app" is a full-screen Android view 
that we draw into manually. We implement our own widgets in Dart.
- Our text widgets are custom made in Dart. When a user interacts with one, 
we query the InputMethodManager and call showSoftInput 
<https://github.com/flutter/engine/blob/master/sky/services/editing/src/org/domokit/editing/KeyboardImpl.java#L50>,
 
passing in our top-level view as the view.
- We have our own InputConnection impl 
<https://github.com/flutter/engine/blob/master/sky/services/editing/src/org/domokit/editing/InputConnectionAdaptor.java>,
 
which is a thin wrapper around BaseInputConnection. It is initialized in 
response to the onCreateInputConnection call.

I can set the IME hint text, and it shows up where the extract UI should 
be. The user's input does not.

Any help is appreciated!

Thanks,
Matt

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/679951c6-2531-4e7c-8704-696fbde91f80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to