Merge "Increase touch target of pointer stroke preference options." into main

This commit is contained in:
Pat Manning
2024-12-20 09:36:43 -08:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
android:layout_marginBottom="@dimen/pointer_stroke_style_padding">
<RadioButton android:id="@+id/stroke_style_white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="@dimen/pointer_stroke_style_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:paddingStart="@dimen/pointer_stroke_style_text_padding"
android:text="@string/pointer_stroke_style_name_white"
@@ -53,7 +53,7 @@
android:textAppearance="?android:attr/textAppearanceListItem" />
<RadioButton android:id="@+id/stroke_style_black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="@dimen/pointer_stroke_style_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:paddingStart="@dimen/pointer_stroke_style_text_padding"
android:text="@string/pointer_stroke_style_name_black"
@@ -61,7 +61,7 @@
android:textAppearance="?android:attr/textAppearanceListItem" />
<RadioButton android:id="@+id/stroke_style_none"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="@dimen/pointer_stroke_style_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:paddingStart="@dimen/pointer_stroke_style_text_padding"
android:text="@string/pointer_stroke_style_name_none"

View File

@@ -204,6 +204,7 @@
<dimen name="pointer_fill_style_checkmark_size">24dp</dimen>
<dimen name="pointer_stroke_style_padding">8dp</dimen>
<dimen name="pointer_stroke_style_text_padding">21dp</dimen>
<dimen name="pointer_stroke_style_radio_button_height">48dp</dimen>
<dimen name="pointer_scale_padding">8dp</dimen>
<item name="pointer_scale_size_start" format="float" type="dimen">1.0</item>
<item name="pointer_scale_size_end" format="float" type="dimen">2.5</item>