Fix alert dialog style

This commit is contained in:
Koitharu
2024-04-24 10:07:19 +03:00
parent 73e768def0
commit 56892aea3c
2 changed files with 7 additions and 5 deletions

View File

@@ -35,12 +35,15 @@
<!--AlertDialog-->
<style name="ThemeOverlay.Kotatsu.MaterialAlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
<item name="android:layout">@layout/m3_alert_dialog</item>
<item name="android:background">@drawable/m3_popup_background</item>
<style name="ThemeOverlay.Kotatsu.AlertDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
<item name="alertDialogStyle">@style/AlertDialog.Kotatsu</item>
<item name="dialogCornerRadius">@dimen/m3_alert_dialog_corner_size</item>
</style>
<style name="AlertDialog.Kotatsu" parent="MaterialAlertDialog.Material3">
<item name="android:background">@drawable/m3_popup_background</item>
</style>
<!-- Bottom sheet -->
<style name="ThemeOverlay.Kotatsu.BottomSheetDialog" parent="ThemeOverlay.Material3.BottomSheetDialog">