Skip to content

Commit

Permalink
[M3][Dialog] Start-align message text with centered styles
Browse files Browse the repository at this point in the history
According to the spec the centered dialog theme overlay should have message text start-aligned and it's also the previous behavior in old MaterialComponent theme overlay.

Spec: https://m3.material.io/components/dialogs/specs
PiperOrigin-RevId: 413671708
  • Loading branch information
drchen authored and josefigueroa168 committed Dec 6, 2021
1 parent 62e8993 commit 9980596
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -159,7 +159,6 @@
<item name="materialAlertDialogTitlePanelStyle">@style/MaterialAlertDialog.Material3.Title.Panel.CenterStacked</item>
<item name="materialAlertDialogTitleIconStyle">@style/MaterialAlertDialog.Material3.Title.Icon.CenterStacked</item>
<item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialog.Material3.Title.Text.CenterStacked</item>
<item name="materialAlertDialogBodyTextStyle">@style/MaterialAlertDialog.Material3.Body.Text.CenterStacked</item>
</style>

</resources>

0 comments on commit 9980596

Please sign in to comment.