我想问一下如何获得以下布局Wanted layout
这是我的解决方法,但是之间的项目没有相等的空间 My result
这是我的代码,什么可能导致我的问题?
const firstStack = createStackNavigator({
firstScreen: firstScreen,
secondScreen: secondScreen
},
{initialRouteName: 'firstScreen'});
const secondStack = createStackNavigator({
thirdScreen: thirdScreen,
fourthScreen: fourthScreen
},
{initialRouteName: 'thirdScreen'});
const appStack = createStackNavigator({
firstStack: firstStack,
secondStack: secondStack
});