Improve the touch target size of check box in shortcut dialog.
Bug: 147773911 Bug: 147774273 Test: Local test Change-Id: Id63b70d4a5223a5a415b9d3229c92a0bd77363e6
This commit is contained in:
@@ -26,20 +26,25 @@
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:saveEnabled="false"/>
|
||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
||||
android:saveEnabled="false"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||
android:textColor="?android:attr/textColorAlertDialogListItem" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:paddingStart="32dp"/>
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingStart="32dp"
|
||||
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
||||
android:textColor="?android:attr/textColorSecondary" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="32dp"
|
||||
android:scaleType="fitCenter"/>
|
||||
android:scaleType="fitCenter" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@@ -52,8 +52,10 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="?android:attr/colorAccent"
|
||||
android:text="@string/accessibility_shortcut_edit_dialog_title_advance"/>
|
||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
||||
android:text="@string/accessibility_shortcut_edit_dialog_title_advance"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||
android:textColor="?android:attr/colorAccent" />
|
||||
|
||||
</LinearLayout>>
|
||||
|
||||
|
Reference in New Issue
Block a user