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

Commit a990b5da authored by Doris Ling's avatar Doris Ling
Browse files

Update the max height/width attribute of the TwoTargetPreference icon.

Change the namespace for the icon image view to settings package.

Change-Id: Id1ffbc1742bedab93c9f03e9d464f532fe2c33af
Fix: 63111300
Fix: 62789516
Test: Visual
parent cbc65a22
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@
<!-- Based off preference_material_settings.xml except that ripple on only on the left side. -->
<!-- Based off preference_material_settings.xml except that ripple on only on the left side. -->
<LinearLayout
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeightSmall"
    android:minHeight="?android:attr/listPreferredItemHeightSmall"
@@ -50,8 +51,8 @@
                android:id="@android:id/icon"
                android:id="@android:id/icon"
                android:layout_width="wrap_content"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_height="wrap_content"
                android:maxWidth="48dp"
                settings:maxWidth="48dp"
                android:maxHeight="48dp" />
                settings:maxHeight="48dp" />
        </LinearLayout>
        </LinearLayout>


        <RelativeLayout
        <RelativeLayout
+5 −0
Original line number Original line Diff line number Diff line
@@ -48,4 +48,9 @@


    <attr name="footerPreferenceStyle" format="reference" />
    <attr name="footerPreferenceStyle" format="reference" />


    <declare-styleable name="PreferenceImageView">
        <attr name="maxWidth" format="dimension" />
        <attr name="maxHeight" format="dimension" />
    </declare-styleable>

</resources>
</resources>