Fine-tune the layout of shortcut preference.
The checkbox position of shortcut preference is not consistent with others internal components. Bug: b/147270184 Bug: b/142530063 Fix: b/147270184 Test: manual test Change-Id: Ie1c2e5909e814180ff731c5bf0b362f6f1489dec
This commit is contained in:
@@ -31,19 +31,14 @@
|
|||||||
android:gravity="start|center_vertical"
|
android:gravity="start|center_vertical"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground">
|
||||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
||||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
|
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:gravity="start|center_vertical"
|
android:layout_marginEnd="16dp"
|
||||||
android:minWidth="56dp"
|
android:minWidth="56dp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingRight="16dp"
|
|
||||||
android:paddingTop="4dp"
|
|
||||||
android:paddingBottom="4dp"
|
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:clickable="false">
|
android:clickable="false">
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user