key_styles_settings.xml revision c9aa1beb6de6bbea71af8eba94354bff3001e0ac
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    <!-- Base key style for the key which may have settings key as more keys. -->
25    <!-- Kept as a separate file for cleaner overriding by an overlay.  -->
26    <switch>
27        <case
28            latin:clobberSettingsKey="true"
29        >
30            <key-style
31                latin:styleName="settingsMoreKeysStyle"
32                latin:backgroundType="functional"
33                latin:parentStyle="baseSettingsMoreKeysStyle" />
34        </case>
35        <!-- clobberSettingsKey="false" -->
36        <default>
37            <key-style
38                latin:styleName="settingsMoreKeysStyle"
39                latin:keyLabelFlags="hasPopupHint"
40                latin:additionalMoreKeys="!text/keyspec_settings"
41                latin:backgroundType="functional"
42                latin:parentStyle="baseSettingsMoreKeysStyle" />
43        </default>
44    </switch>
45</merge>
46