I am trying to change the background color of the callout, but the background color is not effecting to the total view.
Here is the screenshot of what I have:
I want the backgroundColor to encompass the full tooltip.
Here is my code:
<MapView.Callout
style={{
width: 200,
height: 40,
backgroundColor: '#107B67',
borderRadius: 10,
zIndex: 10
}}
>
<View
style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center'
}}
>
<Text>logkjbkb</Text>
</View>
</MapView.Callout>
How can I set the backgroundColor to the whole callout?
