From 158a3577be5965c2f9be2e3f71b0f924d22e3edf Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 16 Oct 2022 00:42:28 +0200 Subject: Disable fullscreen mode This mode is annoying to some users and is disabled in most text views. The keyboard has a fixed sized relative to the height of the screen in landscape mode. The keyboard can't take more space than expected, currently. This might cause problems in the future and might be hidden behind an option if one is found. Every text views so far seemed to behave fine. --- srcs/juloo.keyboard2/Keyboard2.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'srcs/juloo.keyboard2/Keyboard2.java') diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index 03a5fb8..c05f231 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -276,6 +276,13 @@ public class Keyboard2 extends InputMethodService refreshConfig(); } + @Override + public boolean onEvaluateFullscreenMode() + { + /* Entirely disable fullscreen mode. */ + return false; + } + /** Not static */ public class Receiver implements KeyEventHandler.IReceiver { -- cgit v1.2.3