sforkowany z mirror/meshtastic-android
fix: override default dialog button text colors
rodzic
e4d007be0c
commit
4c0d804531
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue