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

Commit 4ec32e1b authored by mxyyiyi's avatar mxyyiyi
Browse files

Fix padding for non-icon Preference

The paddingStart of Text should be 16dp if there's no icon.

Bug: 380195607
Test: visual
Flag: EXEMPT bug fix
Change-Id: I41125b664568ee29a4d4734db0037468cfc31b7e
parent 01e32b66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
    android:minWidth="@dimen/settingslib_expressive_space_medium3"
    android:minHeight="@dimen/settingslib_expressive_space_medium3"
    android:gravity="center"
    android:layout_marginEnd="-4dp"
    android:layout_marginEnd="@dimen/settingslib_expressive_space_extrasmall6"
    android:filterTouchesWhenObscured="false">

    <androidx.preference.internal.PreferenceImageView
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:paddingVertical="@dimen/settingslib_expressive_space_small1"
    android:paddingHorizontal="@dimen/settingslib_expressive_space_small1"
    android:paddingStart="@dimen/settingslib_expressive_space_none"
    android:paddingEnd="@dimen/settingslib_expressive_space_small1"
    android:filterTouchesWhenObscured="false">

    <TextView