Update HomepagePreference layout

Bug: 340795546
Test: visual
Change-Id: I95373877721ebae152f5df1aff97a7b0581a88e9
This commit is contained in:
Edgar Wang
2024-05-16 11:49:50 +00:00
parent f437bec1bc
commit 74c81d8542

View File

@@ -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>