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

Commit 3307af49 authored by yyalan's avatar yyalan
Browse files

[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
parent 7d8717df
Loading
Loading
Loading
Loading
+35 −20
Original line number Diff line number Diff line
@@ -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" />
+6 −2
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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] -->