Closed Buggaboo closed 5 years ago
Changes
Replaced android.app.(Alert)Dialog with appcompat version for backwards compatible, theme and style support.
This can help to fix issues #61 and #62
<style name="FullscreenDialog" parent="ThemeOverlay.MaterialComponents.Dialog.Alert"> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">match_parent</item> <item name="android:windowBackground">@color/white</item> <item name="android:windowNoTitle">true</item> <item name="android:windowIsFloating">false</item> </style>
new AlertDialog.Builder(context, isTablet ? R.style.ThemeOverlay_MaterialComponents_Dialog_Alert : R.style.FullscreenDialog)
so far:
update: using the old (non material) holo AppCompat theme seems to fix the top problem, but it's still wierd
Changes
Replaced android.app.(Alert)Dialog with appcompat version for backwards compatible, theme and style support.
This can help to fix issues #61 and #62