Yes, perhaps this partially overlaps the status bar. You can create a view component, and you can position it with an absolute position. Based on this library , you can add this style to the view component
{ right: 0, left: 0, top: 0, bottom: 0, position: 'absolute', backgroundColor: 'transparent' }
You can then add the custom width to the same view so that the box does not use the entire width of the screen.
You can also use the interactive DrawerLayoutAndroid , but this component is only available on androi.
source share