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
(cherry picked from commit 9980596)
  • Loading branch information
drchen authored and josefigueroa168 committed Dec 9, 2021
1 parent 91f1f2e commit 287858a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 287858a

Please sign in to comment.