A strange top padding remains visible even after we define empty title
I realized the issue happens if we define the background
<style name="BottomSheetMenuStyle" parent="@style/Theme.BottomSheetMenuDialog.Light">
<item name="bottomSheetStyle">@style/AppModalStyle</item>
</style>
<style name="AppModalStyle">
<item name="android:background">@drawable/background_border</item>
</style>
where the background is a drawable with rounded corners
<corners
android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp"
android:topLeftRadius="15dp"
android:topRightRadius="15dp" />
this issue didn't happen when using an older version '3.3.0' .
It started to reproduce after I update the version to 5.1, and I realized this is reproducible also using the version 5.0
A strange top padding remains visible even after we define empty title
I realized the issue happens if we define the background
where the background is a drawable with rounded corners