How to set Alert Dialog message color #13584
Unanswered
beppo-ivel
asked this question in
Q&A
Replies: 1 comment
-
https://material.io/components/dialogs/android#theming-dialogs <style name="AppTheme" parent="Theme.MaterialComponents">
<item name="materialAlertDialogTheme">@style/ThemeOverlay.App.MaterialAlertDialog</item>
</style>
<style name="ThemeOverlay.App.MaterialAlertDialog" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
<item name="colorPrimary">#ff0000</item>
<item name="colorSurface">#ffff00</item>
<item name="colorOnSurface">#9999ff</item>
</style> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to change the color of the message text from alert dialog box. I also tried different parent class like
TextAppearance.MaterialComponents.Body2
. But can't see an effect.Beta Was this translation helpful? Give feedback.
All reactions