0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-25 12:45:12 +00:00

fixed MaterialAlertDialogTheme

This commit is contained in:
X1nto 2020-04-26 01:16:06 +04:00
parent d389009ad1
commit 5e2bdc6d4a
4 changed files with 6 additions and 1 deletions

View file

@ -22,6 +22,7 @@
<item name="colorDisabledVariant">#66808080</item>
<item name="iconColor">?colorPrimaryVariant</item>
<item name="toolbarIconColor">?colorOnPrimary</item>
<item name="DialogBG">#111111</item>
</style>

View file

@ -9,5 +9,6 @@
<attr name="colorSurfaceSurfaceVariant" format="color" />
<attr name="iconColor" format="reference|color" />
<attr name="toolbarIconColor" format="reference|color"/>
<attr name="DialogBG" format="reference|color" />
</resources>

View file

@ -21,9 +21,11 @@
<style name="DialogTheme" parent="@style/Theme.MaterialComponents.Dialog.Alert">
<item name="cornerFamily">rounded</item>
<item name="cornerRadius">8dp</item>
<item name="cornerSize">8dp</item>
<item name="android:textColor">?colorOnSurfaceVariant</item>
<item name="android:textColorPrimary">?colorOnSurfaceVariant</item>
<item name="colorSurface">?attr/DialogBG</item>
<item name="colorAccent">?colorPrimary</item>
</style>
</resources>

View file

@ -22,6 +22,7 @@
<item name="colorDisabledVariant">#000000</item>
<item name="iconColor">?colorPrimaryVariant</item>
<item name="toolbarIconColor">#111111</item>
<item name="DialogBG">#ffffff</item>
</style>