Merge smiley key style into return key style for phone

Bug: 4340933
Change-Id: If2b586e5fade1610489e4a53cddafb89834bba07
main
Tadashi G. Takaoka 2011-07-31 20:06:39 -07:00
parent e00d44d0c8
commit 48dda9e028
4 changed files with 22 additions and 41 deletions

View File

@ -81,6 +81,19 @@
latin:isRepeatable="true" /> latin:isRepeatable="true" />
<!-- Return key style --> <!-- Return key style -->
<switch> <switch>
<case
latin:mode="im"
>
<!-- Smiley key. -->
<key-style
latin:styleName="returnKeyStyle"
latin:keyLabel=":-)"
latin:keyOutputText=":-) "
latin:keyLabelOption="hasPopupHint"
latin:popupCharacters="@string/alternates_for_smiley"
latin:maxPopupKeyboardColumn="5"
latin:parentStyle="functionalKeyStyle" />
</case>
<case <case
latin:imeAction="actionGo" latin:imeAction="actionGo"
> >
@ -138,14 +151,6 @@
latin:styleName="spaceKeyStyle" latin:styleName="spaceKeyStyle"
latin:code="@integer/key_space" latin:code="@integer/key_space"
latin:parentStyle="functionalKeyStyle" /> latin:parentStyle="functionalKeyStyle" />
<key-style
latin:styleName="smileyKeyStyle"
latin:keyLabel=":-)"
latin:keyOutputText=":-) "
latin:keyLabelOption="hasPopupHint"
latin:popupCharacters="@string/alternates_for_smiley"
latin:maxPopupKeyboardColumn="5"
latin:parentStyle="functionalKeyStyle" />
<key-style <key-style
latin:styleName="shortcutKeyStyle" latin:styleName="shortcutKeyStyle"
latin:code="@integer/key_shortcut" latin:code="@integer/key_shortcut"

View File

@ -39,6 +39,9 @@
latin:keyWidth="50%p" /> latin:keyWidth="50%p" />
<Key <Key
latin:keyStyle="punctuationKeyStyle" /> latin:keyStyle="punctuationKeyStyle" />
<Key
latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" />
</case> </case>
<!-- hasSettingsKey="true" or navigateAction="true" --> <!-- hasSettingsKey="true" or navigateAction="true" -->
<default> <default>
@ -55,17 +58,6 @@
<Key <Key
latin:keyStyle="punctuationKeyStyle" latin:keyStyle="punctuationKeyStyle"
latin:keyWidth="9.2%p" /> latin:keyWidth="9.2%p" />
</default>
</switch>
<switch>
<case
latin:mode="im"
>
<Key
latin:keyStyle="smileyKeyStyle"
latin:keyWidth="fillRight" />
</case>
<default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />

View File

@ -39,6 +39,9 @@
latin:keyWidth="50%p" /> latin:keyWidth="50%p" />
<Key <Key
latin:keyStyle="punctuationKeyStyle" /> latin:keyStyle="punctuationKeyStyle" />
<Key
latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" />
</case> </case>
<!-- hasSettingsKey="true" or navigateAction="true" --> <!-- hasSettingsKey="true" or navigateAction="true" -->
<default> <default>
@ -55,17 +58,6 @@
<Key <Key
latin:keyStyle="punctuationKeyStyle" latin:keyStyle="punctuationKeyStyle"
latin:keyWidth="9.2%p" /> latin:keyWidth="9.2%p" />
</default>
</switch>
<switch>
<case
latin:mode="im"
>
<Key
latin:keyStyle="smileyKeyStyle"
latin:keyWidth="fillRight" />
</case>
<default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />

View File

@ -42,6 +42,9 @@
<Key <Key
latin:keyLabel="…" latin:keyLabel="…"
latin:keyStyle="nonPasswordFunctionalKeyStyle" /> latin:keyStyle="nonPasswordFunctionalKeyStyle" />
<Key
latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" />
</case> </case>
<!-- hasSettingsKey="true" or navigateAction="true" --> <!-- hasSettingsKey="true" or navigateAction="true" -->
<default> <default>
@ -62,17 +65,6 @@
latin:keyLabel="…" latin:keyLabel="…"
latin:keyWidth="9.2%p" latin:keyWidth="9.2%p"
latin:keyStyle="nonPasswordFunctionalKeyStyle" /> latin:keyStyle="nonPasswordFunctionalKeyStyle" />
</default>
</switch>
<switch>
<case
latin:mode="im"
>
<Key
latin:keyStyle="smileyKeyStyle"
latin:keyWidth="fillRight" />
</case>
<default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />