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

Commit 9a6bf825 authored by Peter_Liang's avatar Peter_Liang Committed by Menghan Li
Browse files

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
parent 8ef01d25
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -31,19 +31,14 @@
        android:gravity="start|center_vertical"
        android:focusable="true"
        android:clickable="true"
        android:background="?android:attr/selectableItemBackground"
        android:paddingStart="?android:attr/listPreferredItemPaddingStart"
        android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
        android:background="?android:attr/selectableItemBackground">

        <FrameLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="start|center_vertical"
            android:layout_height="match_parent"
            android:layout_marginEnd="16dp"
            android:minWidth="56dp"
            android:orientation="horizontal"
            android:paddingRight="16dp"
            android:paddingTop="4dp"
            android:paddingBottom="4dp"
            android:focusable="false"
            android:clickable="false">