Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 348e2763 authored by Vlad Sandu's avatar Vlad Sandu
Browse files

[Expressive Design][SettingsLib] Fix IntroPreference summary width in Expressive theme

Removing `layout_centerHorizontal` resolves the conflict and allows the LinearLayout to correctly match its parent's width, ensuring the summary text can span the container as intended.

Bug: 428949137
Test: atest, visual Agent App page & some other pages that use IntroPreference (eg. App > Wifi Usage)
Flag: EXEMPT style update
Change-Id: I2a4a494af29a3a304319105412f53d8f2a5faeeb
parent 40ae3f5a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -388,7 +388,6 @@
    <style name="SettingsLibEntityHeaderContent">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_centerHorizontal">true</item>
        <item name="android:orientation">vertical</item>
        <item name="android:gravity">center_horizontal</item>
    </style>