rows_number_normal.xml revision 1c2cf71921f0f09e39c1df86c1e57d4c607aad34
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2012, 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<merge
22    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
23>
24    <Row>
25        <Key
26            latin:keySpec="-"
27            latin:keyStyle="numKeyStyle"
28            latin:keyWidth="10%p"
29            latin:backgroundType="functional" />
30        <Key
31            latin:keySpec="+"
32            latin:keyStyle="numKeyStyle"
33            latin:keyWidth="10%p"
34            latin:backgroundType="functional" />
35        <Key
36            latin:keySpec="."
37            latin:keyStyle="numKeyStyle"
38            latin:keyWidth="10%p"
39            latin:backgroundType="functional" />
40        <Key
41            latin:keySpec="1"
42            latin:keyStyle="numKeyStyle"
43            latin:keyXPos="31%p" />
44        <Key
45            latin:keySpec="2"
46            latin:keyStyle="numKeyStyle" />
47        <Key
48            latin:keySpec="3"
49            latin:keyStyle="numKeyStyle" />
50        <Key
51            latin:keyStyle="deleteKeyStyle"
52            latin:keyXPos="-14%p"
53            latin:keyWidth="fillRight" />
54    </Row>
55    <Row>
56        <Key
57            latin:keyStyle="numStarKeyStyle"
58            latin:keyWidth="10%p"
59            latin:backgroundType="functional" />
60        <Key
61            latin:keySpec="/"
62            latin:keyStyle="numKeyStyle"
63            latin:keyWidth="10%p"
64            latin:backgroundType="functional" />
65        <switch>
66            <case
67                latin:mode="time|datetime"
68            >
69                <Key
70                    latin:keySpec=","
71                    latin:keyLabelFlags="hasPopupHint"
72                    latin:moreKeys="!text/morekeys_am_pm"
73                    latin:keyStyle="numKeyStyle"
74                    latin:keyWidth="10%p"
75                    latin:backgroundType="functional" />
76            </case>
77            <default>
78                <Key
79                    latin:keySpec=","
80                    latin:keyStyle="numKeyStyle"
81                    latin:keyWidth="10%p"
82                    latin:backgroundType="functional" />
83            </default>
84        </switch>
85        <Key
86            latin:keySpec="4"
87            latin:keyStyle="numKeyStyle"
88            latin:keyXPos="31%p" />
89        <Key
90            latin:keySpec="5"
91            latin:keyStyle="numKeyStyle" />
92        <Key
93            latin:keySpec="6"
94            latin:keyStyle="numKeyStyle" />
95        <Key
96            latin:keyStyle="enterKeyStyle"
97            latin:keyXPos="-14%p"
98            latin:keyWidth="fillRight" />
99    </Row>
100    <Row>
101        <Key
102            latin:keySpec="("
103            latin:keyStyle="numKeyStyle"
104            latin:keyWidth="10%p"
105            latin:backgroundType="functional" />
106        <Key
107            latin:keySpec=")"
108            latin:keyStyle="numKeyStyle"
109            latin:keyWidth="10%p"
110            latin:backgroundType="functional" />
111        <switch>
112            <case
113                latin:mode="time|datetime"
114            >
115                <Key
116                    latin:keySpec=":"
117                    latin:keyStyle="numKeyStyle"
118                    latin:keyWidth="10%p"
119                    latin:backgroundType="functional" />
120            </case>
121            <default>
122                <Key
123                    latin:keySpec="="
124                    latin:keyStyle="numKeyStyle"
125                    latin:keyWidth="10%p"
126                    latin:backgroundType="functional" />
127            </default>
128        </switch>
129        <Key
130            latin:keySpec="7"
131            latin:keyStyle="numKeyStyle"
132            latin:keyXPos="31%p" />
133        <Key
134            latin:keySpec="8"
135            latin:keyStyle="numKeyStyle" />
136        <Key
137            latin:keySpec="9"
138            latin:keyStyle="numKeyStyle" />
139        <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
140        <Spacer />
141    </Row>
142    <Row>
143        <Key
144            latin:keyStyle="tabletNumSpaceKeyStyle"
145            latin:keyWidth="30%p" />
146        <Key
147            latin:keyStyle="numStarKeyStyle"
148            latin:keyXPos="31%p" />
149        <Key
150            latin:keySpec="0"
151            latin:keyStyle="numKeyStyle" />
152        <Key
153            latin:keySpec="\#"
154            latin:keyStyle="numKeyStyle" />
155        <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
156        <Spacer
157            latin:keyWidth="fillRight" />
158    </Row>
159</merge>
160