I want to create a bottomTabNavigation like this:

I managed to create a tabNavigation like this by putting an image in position:'absolute' but the image is overflowing the tab and the part that overflows is not clickable.
My code at this moment :
<Tab.Navigator initialRouteName="Activity" tabBarOptions={{
showIcon: true,
showLabel: false,
activeTintColor: 'blue',
}}>
<Tab.Screen name="Theme" component={Themes} options={{
tabBarIcon: () => (<Image source={require('../Images/list_blue.png')} style={styles.icon}/>)
}}/>
<Tab.Screen name="Activity" component={Activity} options={{
tabBarIcon: () => (<Image source={require('../Images/idea_blue.png')} style={styles.main_icon}/>)
}}/>
<Tab.Screen name="Add" component={Add} options={{
tabBarIcon: () => (<Image source={require('../Images/plus_blue.png') style={styles.icon}/>)
}}/>
</Tab.Navigator>
//Styles
icon: {
width: 40,
height: 40,
},
main_icon: {
position: 'absolute',
bottom: -30,
width: 115,
height: 115,
}
Then I created a cust tabNavigation with the prop tabBar={props => <CustomTabBar {...props} />}
but I still have the same problem :
the red square is a touchableOpacity but only the green part in clickable, the part above the tab is still not clickable and I don't understand why...
Do you have an idea how to make such a big button in the middle of the bottomTabNavigation ?


