我在我的应用程序上禁用了暗模式,但是当我在手机设置中打开暗模式时,底片看起来有问题 like this 所以其他薄的工作成功
BottomSheet 的 Xml 文件
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#FFF"/>
<corners android:topLeftRadius="15dp"
android:topRightRadius="15dp"/>
</shape>