Merge "Update HomepagePreference layout" into main

This commit is contained in:
Edgar Wang
2024-05-17 06:08:11 +00:00
committed by Android (Google) Code Review

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>