mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-24 14:50:26 -04:00
fix: override default dialog button text colors
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="actionBarTheme">@style/MyActionBar</item>
|
||||
<item name="materialButtonStyle">@style/Widget.App.Button</item>
|
||||
<item name="materialAlertDialogTheme">@style/CustomMaterialDialog</item>
|
||||
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
@@ -59,6 +60,15 @@
|
||||
<item name="backgroundTint">@color/buttonColor</item>
|
||||
</style>
|
||||
|
||||
<style name="CustomMaterialDialog" parent="@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog">
|
||||
<!-- Background Color
|
||||
<item name="android:background">#006db3</item> -->
|
||||
<!-- Text Color for title and message
|
||||
<item name="colorOnSurface">@color/unselectedColor</item> -->
|
||||
<!-- Text Color for buttons -->
|
||||
<item name="colorPrimary">@color/unselectedColor</item>
|
||||
</style>
|
||||
|
||||
<style name="MyThemeOverlay_Toolbar" parent="">
|
||||
<item name="background">@color/colorPrimary</item>
|
||||
<item name="android:textColorPrimary">@color/colorOnPrimary</item>
|
||||
|
||||
Reference in New Issue
Block a user