【发布时间】:2021-09-06 20:35:10
【问题描述】:
我在我的 expo 应用程序中使用 react-navigation 和底部选项卡。
我已经指定了一些类似的选项:
<TabStack.Navigator
initialRouteName="Compte"
tabBarOptions={{
activeTintColor: EAppColors.PRIMARY_GREEN,
labelStyle: {
fontFamily: 'BeVietnam-Regular',
fontSize: normalize(12),
fontStyle: 'normal',
lineHeight: 20,
textAlign: 'center',
marginBottom: 5,
},
tabStyle: {
alignItems: 'center',
justifyContent: 'center',
height: 40,
marginTop: '3.5%',
},
style: { paddingHorizontal: '5%' },
}}>
我需要在标签栏的左侧和右侧放置一些顶部半径,但后面的视图保持其颜色 ....
如何更改后面视图的颜色? (图片左上角灰色)
【问题讨论】:
标签: react-native expo react-navigation tabbar