Updating the spacer layout height for the dialog between the title and the message.
Bug: 124232382
Test: Manual
Change-Id: I4afa43dfa40018345676f1b65bf2ebc679e1f967
diff --git a/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_material.xml b/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_material.xml
index 66b88d1..7452026 100644
--- a/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_material.xml
+++ b/car_product/overlay/frameworks/base/core/res/res/layout/alert_dialog_material.xml
@@ -20,7 +20,7 @@
android:id="@*android:id/parentPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="start|top"
+ android:gravity="start|top"
android:orientation="vertical">
<include layout="@*android:layout/alert_dialog_title_material" />
@@ -42,12 +42,11 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <!-- we don't need this spacer, but the id needs to be here for compatibility -->
<Space
android:id="@*android:id/textSpacerNoTitle"
android:visibility="gone"
android:layout_width="match_parent"
- android:layout_height="0dp" />
+ android:layout_height="@*android:dimen/dialog_no_title_padding_top" />
<TextView
android:id="@*android:id/message"