这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit df3cb50

Browse files
committed
Fixed: Text not visible when in dark mode for bottom sheet dialog
1 parent b296a0c commit df3cb50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/res/values/styles.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515

1616
<style name="DialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
1717
<item name="windowNoTitle">true</item>
18+
<item name="bottomSheetDialogTheme">@style/Theme.Design.Light.BottomSheetDialog</item>
1819
</style>
1920

2021
<style name="DialogTheme.Dark" parent="Theme.AppCompat.Dialog.Alert">
2122
<item name="windowNoTitle">true</item>
23+
<item name="bottomSheetDialogTheme">@style/Theme.Design.BottomSheetDialog</item>
2224
</style>
2325

2426
<style name="TransparentTheme" parent="@style/Theme.AppCompat.Light">

0 commit comments

Comments
 (0)