diff --git a/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 8d4c7d3b186b5..21b40575a7280 100644 --- a/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -170,6 +170,10 @@ private void init() { addView(flutterTextureView); break; } + + // FlutterView needs to be focusable so that the InputMethodManager can interact with it. + setFocusable(true); + setFocusableInTouchMode(true); } /**