summaryrefslogtreecommitdiff
path: root/platform/android/java
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-20 17:05:12 +0200
committerGitHub <noreply@github.com>2020-07-20 17:05:12 +0200
commit173ebe487284fddb9f07cdf90ef58cb1c9f69b74 (patch)
treef7fe6a23cd38d73832b163ac7ee55ad079fa78e9 /platform/android/java
parent818bfbc5b53cc7df4f33493d3ca0a9b74e2cb34a (diff)
parentd7aaec8ffe757cf554092018d568d550be8966f2 (diff)
Merge pull request #40484 from nekomatata/android-virtual-keyboard-adjustment
Disable virtual keyboard focus adjustment on Android
Diffstat (limited to 'platform/android/java')
-rw-r--r--platform/android/java/lib/src/org/godotengine/godot/Godot.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/java/lib/src/org/godotengine/godot/Godot.java b/platform/android/java/lib/src/org/godotengine/godot/Godot.java
index 1b55090451..1ae400abb5 100644
--- a/platform/android/java/lib/src/org/godotengine/godot/Godot.java
+++ b/platform/android/java/lib/src/org/godotengine/godot/Godot.java
@@ -467,6 +467,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
final Activity activity = getActivity();
Window window = activity.getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
+ window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING);
mClipboard = (ClipboardManager)activity.getSystemService(Context.CLIPBOARD_SERVICE);
pluginRegistry = GodotPluginRegistry.initializePluginRegistry(this);