Android 如何更改本机抽屉导航中的文本颜色和高亮显示的颜色
我可以更改背景颜色,但无法更改文本和高亮显示的颜色。我该怎么做?我已经附上了我的代码和截图Android 如何更改本机抽屉导航中的文本颜色和高亮显示的颜色,android,reactjs,react-native,Android,Reactjs,React Native,我可以更改背景颜色,但无法更改文本和高亮显示的颜色。我该怎么做?我已经附上了我的代码和截图 试试这种方法 <Drawer.Navigator drawerContentOptions={{ activeTintColor: 'red', activeBackgroundColor: 'grey', inactiveTintColor: 'blue', inactiveBackgroundC
试试这种方法
<Drawer.Navigator
drawerContentOptions={{
activeTintColor: 'red',
activeBackgroundColor: 'grey',
inactiveTintColor: 'blue',
inactiveBackgroundColor: 'white',
labelStyle:{
fontSize: 15,
marginLeft:5
}
}}>
</Drawer.Navigator>
检查此答案非常感谢。