• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2011, 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:f2KeyMode="settings"
27        >
28            <Key
29                latin:keyStyle="settingsKeyStyle"
30                latin:keyWidth="fillBoth" />
31        </case>
32        <case
33            latin:f2KeyMode="shortcutIme"
34        >
35            <switch>
36                <case
37                    latin:shortcutKeyEnabled="true"
38                >
39                    <Key
40                        latin:keyStyle="shortcutKeyStyle"
41                        latin:keyWidth="fillBoth" />
42                </case>
43                <!-- shortcutKeyEnabled="false" -->
44                <default>
45                    <Spacer />
46                </default>
47            </switch>
48        </case>
49        <case
50            latin:f2KeyMode="shortcutImeOrSettings"
51        >
52            <switch>
53                <case
54                    latin:shortcutKeyEnabled="true"
55                >
56                    <Key
57                        latin:keyStyle="shortcutKeyStyle"
58                        latin:keyWidth="fillBoth" />
59                </case>
60                <!-- shortcutKeyEnabled="false" -->
61                <default>
62                    <Key
63                        latin:keyStyle="settingsKeyStyle"
64                        latin:keyWidth="fillBoth" />
65                </default>
66            </switch>
67        </case>
68        <!-- f2KeyMode="none" -->
69        <default>
70            <Spacer />
71        </default>
72    </switch>
73</merge>
74