简体   繁体   中英

Always show the keyboard input on screen

Is there a way to force keyboards to show their whole onscreen input (and, by the way, how is this correctly called?). I'm talking about the one that appears when you don't have enough space (or at least when the device decides it), like the white input on this picture:

键盘打开时整个屏幕输入。 Galaxy Note 3

I'd like it to be even on portrait screens of an app.

I've been searching for this, but it turns difficult to search something you don't know how it's called.

Edit: I forgot to tell, this should work in a Cordova app.

Use this

InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.showSoftInput(autoSuggestionTextView,InputMethodManager.SHOW_IMPLICIT);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM