Make width of the dialog constant even when content changes

Bug: 279567505
Test: go to Settings -> System -> Multiple users
Click Add user, go through the flow, observe dialog width staying the same

Change-Id: I3e0cb79e3e38db79d00e17d8ef9dcdfdfd1b4c28
This commit is contained in:
Tetiana Meronyk
2023-06-27 13:41:18 +00:00
parent 0976919ceb
commit a8a53ba1ef

View File

@@ -33,13 +33,13 @@
android:importantForAccessibility="no"/>
<TextView
android:id="@+id/dialog_with_icon_title"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
style="@style/DialogWithIconTitle"/>
<TextView
android:id="@+id/dialog_with_icon_message"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
style="@style/TextAppearanceSmall"/>