From: Fan Zhang Date: Wed, 31 May 2017 22:40:02 +0000 (-0700) Subject: Use a common style for custom preference icon layouts X-Git-Tag: android-x86-9.0-r1~931^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c2b0c7bf31d8286b908beb33e291e4888a6c54ca;p=android-x86%2Fpackages-apps-Settings.git Use a common style for custom preference icon layouts Change-Id: Ief3bc54f700cb891041adf92846149c6f41caad0 Fix: 35961001 Test: instrumentation test --- diff --git a/res/layout/expand_preference.xml b/res/layout/expand_preference.xml index f17e67c28f..729dfd9919 100644 --- a/res/layout/expand_preference.xml +++ b/res/layout/expand_preference.xml @@ -28,10 +28,10 @@ android:clipToPadding="false"> + android:background="?android:attr/selectableItemBackground" + android:clipToPadding="false"> + android:orientation="horizontal" + android:clipToPadding="false" + android:paddingStart="?android:attr/listPreferredItemPaddingStart">