Merge "Improve the touch target size of check box in shortcut dialog."

This commit is contained in:
Menghan Li
2020-01-20 15:15:40 +00:00
committed by Android (Google) Code Review
2 changed files with 14 additions and 7 deletions

View File

@@ -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>

View File

@@ -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>>