On Android, I would like to change the bottom bar on the screen from black to translucent, please check the image it’s the bar below the navigation tabs. I’m developing the app with react native, using react navigation..
2
You can use SafeAreaView and you can add a background color for example:-
SafeAreaView
import {SafeAreaView} from 'react-native'; const Demo = ({ return ( <SafeAreaView style={{backgroundColor: 'black'}}> </SafeAreaView> ) })
you can try this method also…
<Tab.Navigator tabBarOptions={{ tabBarStyle: { backgroundColor: 'rgba(0, 0, 0, 0.5)' }, // Translucent black color }} > {/* Define your tab screens here */} </Tab.Navigator>
Click here to cancel reply.
2
Answers
You can use
SafeAreaView
and you can add a background color for example:-you can try this method also…