当前,我有一个由4个选项卡组成的选项卡,由react-native-router-flux创建。我想在外部场景中放置更多场景,但不要在标签栏中显示它。
<Scene
key="tabbar"
type='replace'
tabs
tabBarStyle={{backgroundColor: '#252525'}}
activeBackgroundColor="#CEECF5"
inactiveBackgroundColor="white"
>
<Scene key="Start" icon={HomeIcon} >
<Scene
key="Dashboard"
hideTabBar
component={Dashboard}
titleStyle={styles.nagivationBarTitleStyle}
title="Start"
rightButtonImage={SettingIcon}
onRight={()=>{
Actions.Settings()
}}
navigationBarStyle={{ backgroundColor: 'transparent'}}
/>
<Scene />
<Scene />