1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2019, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<LinearLayout
22    xmlns:android="http://schemas.android.com/apk/res/android"
23    style="@style/KeyboardArea">
24
25  <LinearLayout
26      android:id="@+id/suggestion_strip"
27      android:layout_width="fill_parent"
28      android:layout_height="wrap_content">
29
30    <LinearLayout
31        android:id="@+id/pinned_suggestions_start"
32        style="@style/PinnedSuggestionArea">
33    </LinearLayout>
34
35    <com.example.android.autofillkeyboard.InlineContentClipView
36        android:id="@+id/scrollable_suggestions_clip"
37        android:layout_width="wrap_content"
38        android:layout_height="fill_parent"
39        android:layout_weight="1">
40
41      <HorizontalScrollView
42          android:layout_width="wrap_content"
43          android:layout_height="wrap_content">
44
45        <LinearLayout
46            android:id="@+id/scrollable_suggestions"
47            android:layout_width="wrap_content"
48            android:layout_height="wrap_content"
49            style="@style/KeyboardRow.Header">
50        </LinearLayout>
51
52      </HorizontalScrollView>
53
54    </com.example.android.autofillkeyboard.InlineContentClipView>
55
56    <LinearLayout
57        android:id="@+id/pinned_suggestions_end"
58        style="@style/PinnedSuggestionArea">
59    </LinearLayout>
60
61  </LinearLayout>
62
63  <LinearLayout style="@style/KeyboardRow">
64    <TextView
65        android:id="@+id/key_pos_0_0"
66        style="@style/SoftKey"/>
67    <TextView
68        android:id="@+id/key_pos_0_1"
69        style="@style/SoftKey"/>
70    <TextView
71        android:id="@+id/key_pos_0_2"
72        style="@style/SoftKey"/>
73    <TextView
74        android:id="@+id/key_pos_0_3"
75        style="@style/SoftKey"/>
76    <TextView
77        android:id="@+id/key_pos_0_4"
78        style="@style/SoftKey"/>
79    <TextView
80        android:id="@+id/key_pos_0_5"
81        style="@style/SoftKey"/>
82    <TextView
83        android:id="@+id/key_pos_0_6"
84        style="@style/SoftKey"/>
85    <TextView
86        android:id="@+id/key_pos_0_7"
87        style="@style/SoftKey"/>
88    <TextView
89        android:id="@+id/key_pos_0_8"
90        style="@style/SoftKey"/>
91    <TextView
92        android:id="@+id/key_pos_0_9"
93        style="@style/SoftKey"/>
94  </LinearLayout>
95
96  <LinearLayout style="@style/KeyboardRow">
97    <TextView
98        android:id="@+id/key_pos_1_0"
99        style="@style/SoftKey"/>
100    <TextView
101        android:id="@+id/key_pos_1_1"
102        style="@style/SoftKey"/>
103    <TextView
104        android:id="@+id/key_pos_1_2"
105        style="@style/SoftKey"/>
106    <TextView
107        android:id="@+id/key_pos_1_3"
108        style="@style/SoftKey"/>
109    <TextView
110        android:id="@+id/key_pos_1_4"
111        style="@style/SoftKey"/>
112    <TextView
113        android:id="@+id/key_pos_1_5"
114        style="@style/SoftKey"/>
115    <TextView
116        android:id="@+id/key_pos_1_6"
117        style="@style/SoftKey"/>
118    <TextView
119        android:id="@+id/key_pos_1_7"
120        style="@style/SoftKey"/>
121    <TextView
122        android:id="@+id/key_pos_1_8"
123        style="@style/SoftKey"/>
124  </LinearLayout>
125
126  <LinearLayout style="@style/KeyboardRow">
127    <TextView
128        android:id="@+id/key_pos_shift"
129        style="@style/SoftKey.Function"/>
130    <TextView
131        android:id="@+id/key_pos_2_0"
132        style="@style/SoftKey"/>
133    <TextView
134        android:id="@+id/key_pos_2_1"
135        style="@style/SoftKey"/>
136    <TextView
137        android:id="@+id/key_pos_2_2"
138        style="@style/SoftKey"/>
139    <TextView
140        android:id="@+id/key_pos_2_3"
141        style="@style/SoftKey"/>
142    <TextView
143        android:id="@+id/key_pos_2_4"
144        style="@style/SoftKey"/>
145    <TextView
146        android:id="@+id/key_pos_2_5"
147        style="@style/SoftKey"/>
148    <TextView
149        android:id="@+id/key_pos_2_6"
150        style="@style/SoftKey"/>
151    <TextView
152        android:id="@+id/key_pos_del"
153        style="@style/SoftKey.Function"/>
154  </LinearLayout>
155
156  <LinearLayout style="@style/KeyboardRow">
157    <TextView
158        android:id="@+id/key_pos_symbol"
159        style="@style/SoftKey.Function.Text"/>
160    <TextView
161        android:id="@+id/key_pos_bottom_0"
162        style="@style/SoftKey"/>
163    <TextView
164        android:id="@+id/key_pos_space"
165        style="@style/SoftKey.Space"/>
166    <TextView
167        android:id="@+id/key_pos_bottom_1"
168        style="@style/SoftKey"/>
169    <TextView
170        android:id="@+id/key_pos_enter"
171        style="@style/SoftKey.Function"/>
172  </LinearLayout>
173
174</LinearLayout>
175