Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 40ba8d0

Browse files
committed
fix issue: softinput fails to popup after pause&resume the app once
1 parent a5a685b commit 40ba8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Plugins/platform/android/editing/TextInputPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public TextInputPlugin() {
4343
ViewGroup contentView = (ViewGroup)UnityPlayer.currentActivity.findViewById(android.R.id.content);
4444
mView = new TextInputView(UnityPlayer.currentActivity);
4545
mView.requestFocus();
46-
contentView.addView(mView, 0, 0);
46+
contentView.addView(mView, 1, 1);
4747
mImm = (InputMethodManager) mView.getContext().getSystemService(
4848
Context.INPUT_METHOD_SERVICE);
4949
}

0 commit comments

Comments
 (0)