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

Commit 74c81d85 authored by Edgar Wang's avatar Edgar Wang
Browse files

Update HomepagePreference layout

Bug: 340795546
Test: visual
Change-Id: I95373877721ebae152f5df1aff97a7b0581a88e9
parent f437bec1
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
@@ -34,19 +33,17 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:minWidth="40dp"
        android:gravity="end|center_vertical"
        android:minHeight="40dp"
        android:gravity="center"
        android:orientation="horizontal"
        android:paddingStart="24dp"
        android:paddingEnd="8dp"
        android:paddingTop="8dp"
        android:paddingBottom="8dp">
        android:paddingStart="16dp"
        android:layout_marginEnd="-8dp">

        <androidx.preference.internal.PreferenceImageView
            android:id="@android:id/icon"
            android:layout_width="24dp"
            android:layout_height="24dp"
            app:maxWidth="40dp"
            app:maxHeight="40dp"/>
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:scaleType="centerInside"/>

    </LinearLayout>