1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2024 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 --> 17<!--TODO(b/376813452): we might want tablet UI for that--> 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/modifier_keys" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:orientation="vertical" > 24 <LinearLayout 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:orientation="horizontal"> 28 <Button 29 style="@style/ModifierKeyStyle" 30 android:id="@+id/btn_esc" 31 android:text="@string/btn_esc_text" /> 32 <Button 33 style="@style/ModifierKeyStyle" 34 android:id="@+id/btn_tab" 35 android:text="@string/btn_tab_text" /> 36 <Button 37 style="@style/ModifierKeyStyle" 38 android:id="@+id/btn_home" 39 android:text="@string/btn_home_text" /> 40 <Button 41 style="@style/ModifierKeyStyle" 42 android:id="@+id/btn_up" 43 android:text="@string/btn_up_text" /> 44 <Button 45 style="@style/ModifierKeyStyle" 46 android:id="@+id/btn_end" 47 android:text="@string/btn_end_text" /> 48 <Button 49 style="@style/ModifierKeyStyle" 50 android:id="@+id/btn_pgup" 51 android:text="@string/btn_pgup_text" /> 52 </LinearLayout> 53 <LinearLayout 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:orientation="horizontal"> 57 <Button 58 style="@style/ModifierKeyStyle" 59 android:id="@+id/btn_ctrl" 60 android:text="@string/btn_ctrl_text" /> 61 <Button 62 style="@style/ModifierKeyStyle" 63 android:id="@+id/btn_alt" 64 android:text="@string/btn_alt_text" /> 65 <Button 66 style="@style/ModifierKeyStyle" 67 android:id="@+id/btn_left" 68 android:text="@string/btn_left_text" /> 69 <Button 70 style="@style/ModifierKeyStyle" 71 android:id="@+id/btn_down" 72 android:text="@string/btn_down_text" /> 73 <Button 74 style="@style/ModifierKeyStyle" 75 android:id="@+id/btn_right" 76 android:text="@string/btn_right_text" /> 77 <Button 78 style="@style/ModifierKeyStyle" 79 android:id="@+id/btn_pgdn" 80 android:text="@string/btn_pgdn_text" /> 81 </LinearLayout> 82</LinearLayout> 83