Change attributes applied to AlertDialog instances to remove opaque background from 'copy/ut/paste' popup menu

This commit is contained in:
uykek 2020-08-23 22:47:15 +02:00
parent ec40f340e6
commit b270de08ea
2 changed files with 4 additions and 4 deletions

View file

@ -36,10 +36,10 @@
<item name="windowNoTitle">true</item> <item name="windowNoTitle">true</item>
</style> </style>
<style name="AppTheme.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert"> <style name="AppTheme.Dialog" parent="Theme.AppCompat.DayNight.Dialog.Alert">
<item name="colorAccent">@color/colorAccent</item> <item name="colorAccent">@color/colorAccent</item>
<item name="android:textColorPrimary">@color/white</item> <item name="android:textColorPrimary">@color/white</item>
<item name="android:background">@color/darkgrey</item> <item name="android:windowBackground">@color/darkgrey</item>
</style> </style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

View file

@ -34,10 +34,10 @@
<item name="windowNoTitle">true</item> <item name="windowNoTitle">true</item>
</style> </style>
<style name="AppTheme.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert"> <style name="AppTheme.Dialog" parent="Theme.AppCompat.DayNight.Dialog.Alert">
<item name="colorAccent">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorPrimaryDark</item>
<item name="android:textColorPrimary">@color/black</item> <item name="android:textColorPrimary">@color/black</item>
<item name="android:background">@color/white</item> <item name="android:windowBackground">@color/white</item>
</style> </style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />