• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="horizontal" >
24    <Button
25        style="@style/ModifierKeyStyle"
26        android:id="@+id/btn_esc"
27        android:textSize="10sp"
28        android:text="@string/btn_esc_text" />
29    <Button
30        style="@style/ModifierKeyStyle"
31        android:id="@+id/btn_tab"
32        android:textSize="10sp"
33        android:text="@string/btn_tab_text" />
34    <Button
35        style="@style/ModifierKeyStyle"
36        android:id="@+id/btn_ctrl"
37        android:textSize="10sp"
38        android:text="@string/btn_ctrl_text" />
39    <Button
40        style="@style/ModifierKeyStyle"
41        android:id="@+id/btn_alt"
42        android:textSize="10sp"
43        android:text="@string/btn_alt_text" />
44    <Button
45        style="@style/ModifierKeyStyle"
46        android:id="@+id/btn_home"
47        android:textSize="10sp"
48        android:text="@string/btn_home_text" />
49    <Button
50        style="@style/ModifierKeyStyle"
51        android:id="@+id/btn_end"
52        android:textSize="10sp"
53        android:text="@string/btn_end_text" />
54    <Button
55        style="@style/ModifierKeyStyle"
56        android:id="@+id/btn_left"
57        android:textSize="10sp"
58        android:text="@string/btn_left_text" />
59    <Button
60        style="@style/ModifierKeyStyle"
61        android:id="@+id/btn_down"
62        android:textSize="10sp"
63        android:text="@string/btn_down_text" />
64    <Button
65        style="@style/ModifierKeyStyle"
66        android:id="@+id/btn_up"
67        android:textSize="10sp"
68        android:text="@string/btn_up_text" />
69    <Button
70        style="@style/ModifierKeyStyle"
71        android:id="@+id/btn_right"
72        android:textSize="10sp"
73        android:text="@string/btn_right_text" />
74    <Button
75        style="@style/ModifierKeyStyle"
76        android:id="@+id/btn_pgdn"
77        android:textSize="10sp"
78        android:text="@string/btn_pgdn_text" />
79    <Button
80        style="@style/ModifierKeyStyle"
81        android:id="@+id/btn_pgup"
82        android:textSize="10sp"
83        android:text="@string/btn_pgup_text" />
84</LinearLayout>
85