Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable custom keyboard fullscreen?

Im trying to make custom keyboard. When use it, keyboard always make fullscreen mode, but when use system keyboard everythink is okay. Does anyone know how to fix it? For better undestanding im including images.

Current State:

1- My keyboard My keyboard 2- System keyboard System keyboard

How it have to looks.

3 - What i want (not a screenshot - edited in paint) Thats what i want

like image 884
Bullman Avatar asked Mar 15 '23 04:03

Bullman


1 Answers

The following code in InputMethodService should solve your problem:

@Override
public boolean onEvaluateFullscreenMode() {
    return false;
}
like image 107
Karol Gasienica Avatar answered Mar 24 '23 19:03

Karol Gasienica