Sphere
Log in Join
☆ 6

SafeArea leaves a gap on Android 15 edge-to-edge

After targeting Android 15, our layout has a large blank strip at the top. We use React Native and react-native-safe-area-context.

⚑ Report

3 replies

☆ 0
E Erna ·2d ago#1

Edge-to-edge is enforced on Android 15. Wrap the screen in SafeAreaProvider and use SafeAreaView edges instead of manual status bar padding.

⚑ Report
☆ 0
O Omar ·2d ago#2

I did that and the top is fine but the bottom nav overlaps the gesture bar.

⚑ Report
☆ 0
N Nick ·2d ago#3

Add edges={['top','bottom']} to the container and remove any fixed paddingBottom that assumed the old navigation bar height.

⚑ Report
Log in to reply.