• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, 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    <switch>
25        <case
26            latin:hasSettingsKey="false"
27            latin:navigateAction="false"
28        >
29            <switch>
30                <case
31                    latin:mode="url"
32                >
33                    <Key
34                        latin:keyLabel="/"
35                        latin:keyStyle="f1PopupStyle" />
36                </case>
37                <case
38                    latin:mode="email"
39                >
40                    <Key
41                        latin:keyLabel="\@"
42                        latin:keyStyle="f1PopupStyle" />
43                </case>
44                <case
45                    latin:hasShortcutKey="true"
46                >
47                    <Key
48                        latin:keyStyle="shortcutKeyStyle" />
49                </case>
50                <!-- latin:hasShortcutKey="false" -->
51                <default>
52                    <Key
53                        latin:keyLabel="@string/keylabel_for_comma"
54                        latin:keyStyle="f1PopupStyle" />
55                </default>
56            </switch>
57        </case>
58        <!-- hasSettingsKey="true" or navigateAction="true" -->
59        <default>
60            <switch>
61                <case
62                    latin:mode="url"
63                >
64                    <Key
65                        latin:keyLabel="/"
66                        latin:keyWidth="9.2%p"
67                        latin:keyStyle="f1PopupStyle" />
68                </case>
69                <case
70                    latin:mode="email"
71                >
72                    <Key
73                        latin:keyLabel="\@"
74                        latin:keyWidth="9.2%p"
75                        latin:keyStyle="f1PopupStyle" />
76                </case>
77                <case
78                    latin:hasShortcutKey="true"
79                >
80                    <Key
81                        latin:keyStyle="shortcutKeyStyle"
82                        latin:keyWidth="9.2%p" />
83                </case>
84                <!-- hasShortcutKey="false" -->
85                <default>
86                    <Key
87                        latin:keyLabel="@string/keylabel_for_comma"
88                        latin:keyWidth="9.2%p"
89                        latin:keyStyle="f1PopupStyle" />
90                </default>
91            </switch>
92        </default>
93    </switch>
94</merge>
95