Fixed dialog buttons color
This commit is contained in:
parent
053f7401b8
commit
a752a85a3f
@ -26,6 +26,7 @@
|
||||
<color name="disabled">#666</color>
|
||||
<color name="systemBar">@color/defaultBackground</color>
|
||||
<color name="defaultBackground">#fff</color>
|
||||
<color name="inactive">#ccc</color>
|
||||
|
||||
<!-- List Colors -->
|
||||
<color name="text_color">#333</color>
|
||||
|
@ -26,6 +26,8 @@
|
||||
<!-- Generic background -->
|
||||
<item name="android:windowBackground">@color/defaultBackground</item>
|
||||
|
||||
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="AppTheme" parent="BaseTheme"/>
|
||||
@ -52,4 +54,18 @@
|
||||
<item name="android:textColor">@color/white</item>
|
||||
</style>
|
||||
|
||||
<!-- Alertdialogs -->
|
||||
<style name="AlertDialogTheme" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
|
||||
<item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item>
|
||||
<item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
||||
<item name="android:textColor">@color/inactive</item>
|
||||
</style>
|
||||
|
||||
<style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
||||
<item name="android:textColor">@color/defaultBrand</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user