• 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:hasShortcutKey="true"
32                >
33                    <Key
34                        latin:keyStyle="shortcutKeyStyle" />
35                </case>
36                <!-- latin:hasShortcutKey="false" -->
37                <default>
38                    <Key
39                        latin:keyLabel="@string/keylabel_for_f1"
40                        latin:keyStyle="f1PopupStyle" />
41                </default>
42            </switch>
43        </case>
44        <!-- hasSettingsKey="true" or navigateAction="true" -->
45        <default>
46            <switch>
47                <case
48                    latin:hasShortcutKey="true"
49                >
50                    <Key
51                        latin:keyStyle="shortcutKeyStyle"
52                        latin:keyWidth="9.2%p" />
53                </case>
54                <!-- latin:hasShortcutKey="false" -->
55                <default>
56                    <Key
57                        latin:keyLabel="@string/keylabel_for_f1"
58                        latin:keyWidth="9.2%p"
59                        latin:keyStyle="f1PopupStyle" />
60                </default>
61            </switch>
62        </default>
63    </switch>
64</merge>
65