Skip to content

Commit c0c7531

Browse files
committed
set BottomSheet's elevation to 0. Default elevation(8dp) cause unintended dark dim behind sheet.
1 parent 65e9925 commit c0c7531

File tree

1 file changed

+1
-0
lines changed
  • bottomsheetdialog-compose/src/main/res/values

1 file changed

+1
-0
lines changed

bottomsheetdialog-compose/src/main/res/values/styles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232

3333
<style name="TransparentBottomSheet" parent="Widget.MaterialComponents.BottomSheet">
3434
<item name="backgroundTint">@android:color/transparent</item>
35+
<item name="android:elevation">0dp</item>
3536
</style>
3637
</resources>

0 commit comments

Comments
 (0)