• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="vertical"
22    android:background="@color/keyboard_background">
23  <com.android.car.ui.FocusParkingView
24      android:layout_width="wrap_content"
25      android:layout_height="wrap_content" />
26  <com.android.car.ui.FocusArea
27      android:id="@+id/letters"
28      android:layout_width="match_parent"
29      android:layout_height="wrap_content"
30      android:orientation="horizontal">
31    <TextView
32        android:id="@+id/a"
33        android:text="@string/key_label_a"
34        style="@style/Key" />
35    <TextView
36        android:text="@string/key_label_b"
37        style="@style/Key" />
38    <TextView
39        android:text="@string/key_label_c"
40        style="@style/Key" />
41    <TextView
42        android:text="@string/key_label_d"
43        style="@style/Key" />
44    <TextView
45        android:text="@string/key_label_e"
46        style="@style/Key" />
47    <TextView
48        android:text="@string/key_label_f"
49        style="@style/Key" />
50    <TextView
51        android:text="@string/key_label_g"
52        style="@style/Key" />
53    <TextView
54        android:text="@string/key_label_h"
55        style="@style/Key" />
56    <TextView
57        android:text="@string/key_label_i"
58        style="@style/Key" />
59    <TextView
60        android:text="@string/key_label_j"
61        style="@style/Key" />
62    <TextView
63        android:text="@string/key_label_k"
64        style="@style/Key" />
65    <TextView
66        android:text="@string/key_label_l"
67        style="@style/Key" />
68    <TextView
69        android:text="@string/key_label_m"
70        style="@style/Key" />
71    <TextView
72        android:text="@string/key_label_n"
73        style="@style/Key" />
74    <TextView
75        android:text="@string/key_label_o"
76        style="@style/Key" />
77    <TextView
78        android:text="@string/key_label_p"
79        style="@style/Key" />
80    <TextView
81        android:text="@string/key_label_q"
82        style="@style/Key" />
83    <TextView
84        android:text="@string/key_label_r"
85        style="@style/Key" />
86    <TextView
87        android:text="@string/key_label_s"
88        style="@style/Key" />
89    <TextView
90        android:text="@string/key_label_t"
91        style="@style/Key" />
92    <TextView
93        android:text="@string/key_label_u"
94        style="@style/Key" />
95    <TextView
96        android:text="@string/key_label_v"
97        style="@style/Key" />
98    <TextView
99        android:text="@string/key_label_w"
100        style="@style/Key" />
101    <TextView
102        android:text="@string/key_label_x"
103        style="@style/Key" />
104    <TextView
105        android:text="@string/key_label_y"
106        style="@style/Key" />
107    <TextView
108        android:text="@string/key_label_z"
109        style="@style/Key" />
110    <TextView
111        android:id="@+id/delete"
112        android:text="@string/key_label_delete"
113        style="@style/Key" />
114  </com.android.car.ui.FocusArea>
115  <com.android.car.ui.FocusArea
116      android:id="@+id/other_keys"
117      android:layout_width="match_parent"
118      android:layout_height="wrap_content"
119      android:orientation="horizontal">
120    <TextView
121        android:id="@+id/close"
122        android:text="@string/key_close_label"
123        style="@style/Key" />
124    <TextView
125        android:id="@+id/dash"
126        android:text="@string/key_dash_label"
127        style="@style/Key" />
128    <TextView
129        android:id="@+id/quote"
130        android:text="@string/key_quote_label"
131        style="@style/Key" />
132    <TextView
133        android:id="@+id/apostrophe"
134        android:text="@string/key_apostropohe_label"
135        style="@style/Key" />
136    <TextView
137        android:id="@+id/exclamation_mark"
138        android:text="@string/key_exclamation_mark_label"
139        style="@style/Key" />
140    <TextView
141        android:id="@+id/question_mark"
142        android:text="@string/key_question_mark_label"
143        style="@style/Key" />
144    <TextView
145        android:id="@+id/semicolon"
146        android:text="@string/key_semicolon_label"
147        style="@style/Key" />
148    <TextView
149        android:id="@+id/colon"
150        android:text="@string/key_colon_label"
151        style="@style/Key" />
152    <TextView
153        android:id="@+id/comma"
154        android:text="@string/key_comma_label"
155        style="@style/Key" />
156    <TextView
157        android:id="@+id/period"
158        android:text="@string/key_period_label"
159        style="@style/Key" />
160    <TextView
161        android:layout_width="120dp"
162        android:id="@+id/space"
163        style="@style/Key" />
164    <TextView
165        android:id="@+id/zero"
166        android:text="@string/key_label_0"
167        style="@style/Key" />
168    <TextView
169        android:text="@string/key_label_1"
170        style="@style/Key" />
171    <TextView
172        android:text="@string/key_label_2"
173        style="@style/Key" />
174    <TextView
175        android:text="@string/key_label_3"
176        style="@style/Key" />
177    <TextView
178        android:text="@string/key_label_4"
179        style="@style/Key" />
180    <TextView
181        android:text="@string/key_label_5"
182        style="@style/Key" />
183    <TextView
184        android:text="@string/key_label_6"
185        style="@style/Key" />
186    <TextView
187        android:text="@string/key_label_7"
188        style="@style/Key" />
189    <TextView
190        android:text="@string/key_label_8"
191        style="@style/Key" />
192    <TextView
193        android:text="@string/key_label_9"
194        style="@style/Key" />
195  </com.android.car.ui.FocusArea>
196</LinearLayout>
197