mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: override default dialog button text colors
This commit is contained in:
parent
e4d007be0c
commit
4c0d804531
1 changed files with 10 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue