Skip to content

Commit 287858a

Browse files
drchenjosefigueroa168
authored andcommitted
[M3][Dialog] Start-align message text with centered styles
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)
1 parent 91f1f2e commit 287858a

File tree

1 file changed

+0
-1
lines changed
  • lib/java/com/google/android/material/dialog/res/values

1 file changed

+0
-1
lines changed

lib/java/com/google/android/material/dialog/res/values/themes.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159
<item name="materialAlertDialogTitlePanelStyle">@style/MaterialAlertDialog.Material3.Title.Panel.CenterStacked</item>
160160
<item name="materialAlertDialogTitleIconStyle">@style/MaterialAlertDialog.Material3.Title.Icon.CenterStacked</item>
161161
<item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialog.Material3.Title.Text.CenterStacked</item>
162-
<item name="materialAlertDialogBodyTextStyle">@style/MaterialAlertDialog.Material3.Body.Text.CenterStacked</item>
163162
</style>
164163

165164
</resources>

0 commit comments

Comments
 (0)