Hi,
Thanks, I'm familiar with the "Banner ad guidance" support pages but none of the videos or text on these pages answer whether positioning banners within "safeDrawing" insets is enough.
Like you can see on my picture when "safeDrawing" is used it is significantly better in terms of space usage because "safeContent" and "safeGestures" both have significantly excessive insets from all sides. The green rectangles on my picture are what Jetpack Compose roughly returns, so the pictures are an accurate representation of "safeDrawing" and "safeContent" areas.
With "safeDrawing" on about 50-90% of Android phones the ad will be slightly obscured by the rounded corners of the device (not as much as on my exaggerated picture though).
So, is "safeDrawing" enough?
Please confirm with YES/NO if this code is OK (I hope it is because "safeDrawing" is significantly better):
Box(
modifier = Modifier
.fillMaxSize()
.padding(WindowInsets.safeDrawing.asPaddingValues())
) {
// AdMob banner here with either Alignment.TopCenter or Alignment.BottomCenter depending on whether the banner should be anchored to the very top or very bottom
}