[英]after embed my flutter app into android app keyboard overlapping text field but iOS keyboard working perfectly
I have a flutter app which was embedded into android and iOS also but the keyboard hides the textfield means not slide up textfield as per soft keyboard activated flutter layout not resize/adjust so entered information not show properly我有一个 flutter 应用程序,它也嵌入到 android 和 iOS 中,但是键盘隐藏了文本字段,这意味着没有按照激活的软键盘向上滑动文本字段 flutter 布局未调整大小/调整,因此输入的信息无法正确显示
<activity android:name=".activities.MainActivityFlutter"
android:windowSoftInputMode="adjustResize"/>
<activity
android:name="io.flutter.embedding.android.FlutterActivity"
android:theme="@style/MyTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
/>
we have to set property in Manifest.xml at Android app.我们必须在 Android 应用程序的 Manifest.xml 中设置属性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.