我们如何只为 React Native Android 上的特定视图指定“windowSoftInputMode”?

Hug*_*ugo 5 android android-manifest react-native

我们如何才能为基于 React Native 构建的 Android 应用程序的特定视图指定“ windowSoftInputMode ”?

我遇到了这个需要使用的问题

android:windowSoftInputMode="adjustNothing"
Run Code Online (Sandbox Code Playgroud)

对于我的大部分应用程序,然后我需要对特定库react-native-gifted-chat使用相反的内容。

是否可以设置windowSoftInputMode的值,然后在特定视图上覆盖它?