summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author csitari <csitari@google.com> 2025-01-17 15:46:01 +0000
committer csitari <csitari@google.com> 2025-01-17 15:46:01 +0000
commitd8595aedd2455458b4bf92f0a966524e993392a5 (patch)
tree4c84e2f1baac9157401ca6975539c72f4d0ddb8c
parent325e3eb0b92a35eca21f72f0c49ce1adb482291f (diff)
Fix IntroPreference xml error tests on U devices
When running tests on U devices, the xml of IntroPreference is missing width attribute Fix: 390404086 Flag: NONE bug fix Test: manually tested visual via ag/31282630 change locally Change-Id: I78d6cd988de830841514f3b1f9f1228bded318c1
-rw-r--r--packages/SettingsLib/IntroPreference/res/layout/settingslib_expressive_preference_intro.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SettingsLib/IntroPreference/res/layout/settingslib_expressive_preference_intro.xml b/packages/SettingsLib/IntroPreference/res/layout/settingslib_expressive_preference_intro.xml
index 43cf6aa09109..7adcbf6c6601 100644
--- a/packages/SettingsLib/IntroPreference/res/layout/settingslib_expressive_preference_intro.xml
+++ b/packages/SettingsLib/IntroPreference/res/layout/settingslib_expressive_preference_intro.xml
@@ -18,6 +18,8 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/entity_header"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
style="@style/SettingsLibEntityHeader">
<LinearLayout