android - Disabling the fullscreen editing view for soft keyboard input in landscape? -


on android devices use soft keyboards, want prevent fullscreen keyboard editing view (shown below) appearing when in landscape mode (i.e. want see soft keyboard , view behind it).

i assume can achieved using setextractviewshown(false) method on inputmethodservice, unable access default instance of , not want implement custom input method.

android fullscreen editing view

edited add: view input going not textview (it's view custom inputconnection implementation), android:imeoptions="flagnoextractui" won't work here.

i finally answered own question:

the extract ui (i.e. fullscreen editing mode) can disabled @ point @ input connection hooked up:

@override public inputconnection oncreateinputconnection(editorinfo outattrs) {      outattrs.imeoptions = editorinfo.ime_flag_no_extract_ui;      // etc. } 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -