Skip to content

Commit

Permalink
Merge pull request #40484 from nekomatata/android-virtual-keyboard-ad…
Browse files Browse the repository at this point in the history
…justment

Disable virtual keyboard focus adjustment on Android
  • Loading branch information
akien-mga authored Jul 20, 2020
2 parents 818bfbc + d7aaec8 commit 173ebe4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle ic
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);

Expand Down

0 comments on commit 173ebe4

Please sign in to comment.