[3F Tap] Radio Group VisD updates

Height and font updates to align with mock

Fixes: 389062514
Flag: NONE bug fix
Test: Manual, Figma in comment
Change-Id: I60691611717f50c22789b70135e2fc3394c1dc0f
This commit is contained in:
yyalan
2025-02-21 16:35:54 +00:00
parent 7d8717df58
commit 3307af4985
3 changed files with 43 additions and 24 deletions

View File

@@ -34,46 +34,61 @@
tools:ignore="UselessParent">
<RadioButton android:id="@+id/middle_click"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/radio_group_style_padding"
android:paddingStart="@dimen/radio_group_style_text_padding"
android:paddingEnd="@dimen/radio_group_style_text_padding"
android:layout_height="@dimen/three_finger_tap_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:gravity="center_vertical"
android:paddingTop="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingBottom="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingStart="@dimen/three_finger_tap_radio_button_text_padding"
android:fontFamily="@*android:string/config_headlineFontFamily"
android:text="@string/three_finger_tap_middle_click"
android:textSize="20sp"
android:textAppearance="?android:attr/textAppearanceListItem" />
<RadioButton android:id="@+id/launch_gemini"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/radio_group_style_padding"
android:paddingStart="@dimen/radio_group_style_text_padding"
android:paddingEnd="@dimen/radio_group_style_text_padding"
android:layout_height="@dimen/three_finger_tap_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:gravity="center_vertical"
android:paddingTop="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingBottom="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingStart="@dimen/three_finger_tap_radio_button_text_padding"
android:fontFamily="@*android:string/config_headlineFontFamily"
android:text="@string/three_finger_tap_launch_gemini"
android:textSize="20sp"
android:textAppearance="?android:attr/textAppearanceListItem" />
<RadioButton android:id="@+id/go_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/radio_group_style_padding"
android:paddingStart="@dimen/radio_group_style_text_padding"
android:paddingEnd="@dimen/radio_group_style_text_padding"
android:layout_height="@dimen/three_finger_tap_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:gravity="center_vertical"
android:paddingTop="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingBottom="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingStart="@dimen/three_finger_tap_radio_button_text_padding"
android:fontFamily="@*android:string/config_headlineFontFamily"
android:text="@string/three_finger_tap_go_home"
android:textSize="20sp"
android:textAppearance="?android:attr/textAppearanceListItem" />
<RadioButton android:id="@+id/go_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/radio_group_style_padding"
android:paddingStart="@dimen/radio_group_style_text_padding"
android:paddingEnd="@dimen/radio_group_style_text_padding"
android:layout_height="@dimen/three_finger_tap_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:gravity="center_vertical"
android:paddingTop="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingBottom="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingStart="@dimen/three_finger_tap_radio_button_text_padding"
android:fontFamily="@*android:string/config_headlineFontFamily"
android:text="@string/three_finger_tap_go_back"
android:textSize="20sp"
android:textAppearance="?android:attr/textAppearanceListItem" />
<RadioButton android:id="@+id/recent_apps"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/radio_group_style_padding"
android:paddingStart="@dimen/radio_group_style_text_padding"
android:paddingEnd="@dimen/radio_group_style_text_padding"
android:layout_height="@dimen/three_finger_tap_radio_button_height"
android:layout_margin="@dimen/pointer_stroke_style_padding"
android:gravity="center_vertical"
android:paddingTop="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingBottom="@dimen/three_finger_tap_radio_button_vertical_padding"
android:paddingStart="@dimen/three_finger_tap_radio_button_text_padding"
android:fontFamily="@*android:string/config_headlineFontFamily"
android:text="@string/three_finger_tap_recent_apps"
android:textSize="20sp"
android:textAppearance="?android:attr/textAppearanceListItem" />

View File

@@ -180,6 +180,12 @@
<dimen name="keyboard_picker_radius">28dp</dimen>
<dimen name="keyboard_picker_text_size">16sp</dimen>
<!-- Touchpad 3 finger tap -->
<dimen name="radio_group_style_padding">8dp</dimen>
<dimen name="three_finger_tap_radio_button_vertical_padding">24dp</dimen>
<dimen name="three_finger_tap_radio_button_text_padding">15dp</dimen>
<dimen name="three_finger_tap_radio_button_height">56dp</dimen>
<!-- Pointer -->
<dimen name="pointer_fill_container_height">80dp</dimen>
<dimen name="pointer_fill_container_max_width">468dp</dimen>
@@ -209,8 +215,6 @@
<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>
<dimen name="radio_group_style_padding">8dp</dimen>
<dimen name="radio_group_style_text_padding">21dp</dimen>
<!-- RemoteAuth-->
<dimen name="remoteauth_fragment_padding_horizontal">40dp</dimen>

View File

@@ -4859,8 +4859,8 @@
<string name="keywords_touchpad">trackpad, track pad, mouse, cursor, scroll, swipe, right click, click, pointer</string>
<!-- Search keywords for 'Bottom-right tap', the name of the touchpad setting that allows the user to click the bottom right corner of the touchpad for more options. -->
<string name="keywords_trackpad_bottom_right_tap">right click, tap</string>
<!-- Radio button text for 'middle click' action. This is one of multiple actions the user can select from the three finger tap customization radio group. The action if selected will act as a middle-click when a three-finger tap is performed on a touchpad. [CHAR LIMIT=35] -->
<string name="three_finger_tap_middle_click">Middle click</string>
<!-- Radio button text for 'mouse middle click button' action. This is one of multiple actions the user can select from the three finger tap customization radio group. The action if selected will act as a middle-click when a three-finger tap is performed on a touchpad. [CHAR LIMIT=35] -->
<string name="three_finger_tap_middle_click">Mouse middle click button</string>
<!-- Radio button text for 'launch assistant' action. This is one of multiple actions the user can select from the three finger tap customization radio group. The action if selected will launch the Assistant when a three-finger tap is performed on a touchpad. [CHAR LIMIT=35] -->
<string name="three_finger_tap_launch_gemini">Launch Assistant</string>
<!-- Radio button text for 'Go home' action. This is one of multiple actions the user can select from the three finger tap customization radio group. The action if selected will take the user home when a three-finger tap is performed on a touchpad. [CHAR LIMIT=35] -->