• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="1"
27            latin:keyStyle="numKeyStyle" />
28        <Key
29            latin:keySpec="2"
30            latin:keyStyle="numKeyStyle" />
31        <Key
32            latin:keySpec="3"
33            latin:keyStyle="numKeyStyle" />
34        <Key
35            latin:keySpec="-"
36            latin:moreKeys="+"
37            latin:keyLabelFlags="hasPopupHint"
38            latin:keyStyle="numFunctionalKeyStyle"
39            latin:keyWidth="fillRight" />
40    </Row>
41    <Row>
42        <Key
43            latin:keySpec="4"
44            latin:keyStyle="numKeyStyle" />
45        <Key
46            latin:keySpec="5"
47            latin:keyStyle="numKeyStyle" />
48        <Key
49            latin:keySpec="6"
50            latin:keyStyle="numKeyStyle" />
51        <switch>
52            <case
53                latin:mode="date"
54            >
55                <Key
56                    latin:keySpec="."
57                    latin:keyStyle="numFunctionalKeyStyle"
58                    latin:keyWidth="fillRight" />
59            </case>
60            <case
61                latin:mode="time|datetime"
62            >
63                <Key
64                    latin:keySpec="."
65                    latin:keyLabelFlags="hasPopupHint"
66                    latin:moreKeys="!text/morekeys_am_pm"
67                    latin:keyStyle="numFunctionalKeyStyle"
68                    latin:keyWidth="fillRight" />
69            </case>
70            <default>
71                <Key
72                    latin:keySpec=","
73                    latin:keyStyle="numFunctionalKeyStyle"
74                    latin:keyWidth="fillRight" />
75            </default>
76        </switch>
77    </Row>
78    <Row>
79        <Key
80            latin:keySpec="7"
81            latin:keyStyle="numKeyStyle" />
82        <Key
83            latin:keySpec="8"
84            latin:keyStyle="numKeyStyle"/>
85        <Key
86            latin:keySpec="9"
87            latin:keyStyle="numKeyStyle" />
88        <Key
89            latin:keyStyle="deleteKeyStyle"
90            latin:keyWidth="fillRight" />
91    </Row>
92    <Row>
93        <switch>
94            <case
95                latin:mode="date"
96            >
97                <Key
98                    latin:keySpec="/"
99                    latin:keyStyle="numKeyStyle" />
100            </case>
101            <case
102                latin:mode="time"
103            >
104                <Key
105                    latin:keySpec=":"
106                    latin:keyStyle="numKeyStyle" />
107            </case>
108            <case
109                latin:mode="datetime"
110            >
111                <Key
112                    latin:keySpec="/ :|/"
113                    latin:moreKeys="!noPanelAutoMoreKey!,:"
114                    latin:keyStyle="numKeyStyle" />
115            </case>
116            <default>
117                <Key
118                    latin:keySpec="."
119                    latin:keyStyle="numKeyStyle" />
120            </default>
121        </switch>
122        <Key
123            latin:keySpec="0"
124            latin:keyStyle="numKeyStyle" />
125        <Key
126            latin:keyStyle="numSpaceKeyStyle" />
127        <Key
128            latin:keyStyle="enterKeyStyle"
129            latin:keyWidth="fillRight" />
130    </Row>
131</merge>
132