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

Commit 69cb6aa6 authored by Doris Ling's avatar Doris Ling
Browse files

Adjust preference alignment.

Remove the preference_icon_frame style and re-adjust the layout
attributes to put the title/summary back to correct alignment.

Bug: 68654477
Test: visual
Change-Id: I66dee79d565bfbac1520c72f040fa4ed2fcec76d
parent ad5379bd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -33,19 +33,17 @@
        android:background="?android:attr/selectableItemBackground"
        android:gravity="start|center_vertical"
        android:clipToPadding="false"
        android:layout_marginStart="4dp"
        android:paddingStart="?android:attr/listPreferredItemPaddingStart"
        android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">

        <LinearLayout
            android:id="@+id/icon_frame"
            style="@style/preference_icon_frame"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="start|center_vertical"
            android:minWidth="56dp"
            android:orientation="horizontal"
            android:clipToPadding="false"
            android:paddingEnd="12dp"
            android:paddingTop="4dp"
            android:paddingBottom="4dp">
            <android.support.v7.internal.widget.PreferenceImageView
+0 −5
Original line number Diff line number Diff line
@@ -21,9 +21,4 @@
    <style name="TextAppearanceMedium">
        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
    </style>

    <style name="preference_icon_frame">
        <item name="android:layout_marginStart">-4dp</item>
        <item name="android:minWidth">60dp</item>
    </style>
</resources>