Remove "settings" key popup from "slash" and "atmark" key

Removing "settings" key popup from these keys when there's a dedicated
"settings" key in the layout.

This is followup chnage of I119528c0.

Bug: 4196879
Change-Id: I742cc6d1d890c095610f1e8b9ac91a044ec540b7
main
Tadashi G. Takaoka 2011-04-07 20:07:12 +09:00
parent e7c0e73a19
commit cf4eff3f59
1 changed files with 52 additions and 23 deletions

View File

@ -21,6 +21,46 @@
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
<case
latin:hasSettingsKey="true"
>
<switch>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:isFunctional="true" />
</case>
<case
latin:mode="email"
>
<Key
latin:keyLabel="\@"
latin:isFunctional="true" />
</case>
<default>
<switch>
<case
latin:hasVoiceKey="true"
>
<Key
latin:keyStyle="micKeyStyle" />
</case>
<case
latin:hasVoiceKey="false"
>
<Key
latin:keyLabel=","
latin:isFunctional="true" />
</case>
</switch>
</default>
</switch>
</case>
<!-- latin:hasSettingsKey="false" -->
<default>
<switch>
<case
latin:mode="url"
@ -50,17 +90,6 @@
</case>
<case
latin:hasVoiceKey="false"
>
<switch>
<case
latin:hasSettingsKey="true"
>
<Key
latin:keyLabel=","
latin:isFunctional="true" />
</case>
<case
latin:hasSettingsKey="false"
>
<Key
latin:keyLabel=","
@ -69,7 +98,7 @@
latin:isFunctional="true" />
</case>
</switch>
</case>
</default>
</switch>
</default>
</switch>