[英]How to change theme of the keyboard for android in react-native app?
我在 react-native 上有一个应用程序,有两个主题:浅色和深色。 当浅色键盘出现在深色主题中时,它看起来不太好。 我需要更改键盘的主题取决于我的应用程序主题。 在 IOS 上,可以使用 TextInput https://reactnative.dev/docs/textinput.html#keyboardappearance的 keyboardAppearance(enum('default', 'light', 'dark')) 属性。 但它不适用于 Android。 有人知道这样做的好方法吗?
您可以在https://reactnative.dev/docs/textinput.html找到此问题的解决方案
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.