Height and font updates to align with mock Fixes: 389062514 Flag: NONE bug fix Test: Manual, Figma in comment Change-Id: I60691611717f50c22789b70135e2fc3394c1dc0f
97 lines
5.4 KiB
XML
97 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
Copyright 2024 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
android:orientation="vertical"
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart">
|
|
|
|
<RadioGroup
|
|
android:id="@+id/button_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginTop="@dimen/radio_group_style_padding"
|
|
android:layout_marginBottom="@dimen/radio_group_style_padding"
|
|
tools:ignore="UselessParent">
|
|
<RadioButton android:id="@+id/middle_click"
|
|
android:layout_width="wrap_content"
|
|
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="@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="@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="@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="@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" />
|
|
</RadioGroup>
|
|
|
|
</LinearLayout> |