mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Shift + smiley key become return key
Bug: 2498607 Change-Id: Iec902d8f0035a81e4e793251006d905025bd81cf
This commit is contained in:
parent
71915a3722
commit
56d1dc5a58
@ -99,19 +99,36 @@
|
||||
latin:keyActionFlags="isRepeatable|noKeyPreview"
|
||||
latin:backgroundType="functional" />
|
||||
<!-- Return key style -->
|
||||
<key-style
|
||||
latin:styleName="defaultReturnKeyStyle"
|
||||
latin:code="@integer/key_return"
|
||||
latin:keyIcon="iconReturnKey"
|
||||
latin:keyActionFlags="noKeyPreview"
|
||||
latin:backgroundType="functional" />
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="im"
|
||||
>
|
||||
<!-- Smiley key. -->
|
||||
<key-style
|
||||
latin:styleName="returnKeyStyle"
|
||||
latin:keyLabel=":-)"
|
||||
latin:keyOutputText=":-) "
|
||||
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||
latin:moreKeys="@string/more_keys_for_smiley"
|
||||
latin:maxMoreKeysColumn="5"
|
||||
latin:backgroundType="functional" />
|
||||
<switch>
|
||||
<case
|
||||
latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="returnKeyStyle"
|
||||
latin:parentStyle="defaultReturnKeyStyle" />
|
||||
</case>
|
||||
<default>
|
||||
<key-style
|
||||
latin:styleName="returnKeyStyle"
|
||||
latin:keyLabel=":-)"
|
||||
latin:keyOutputText=":-) "
|
||||
latin:keyLabelFlags="hasPopupHint|preserveCase"
|
||||
latin:moreKeys="@string/more_keys_for_smiley"
|
||||
latin:maxMoreKeysColumn="5"
|
||||
latin:backgroundType="functional" />
|
||||
</default>
|
||||
</switch>
|
||||
</case>
|
||||
<case
|
||||
latin:imeAction="actionGo"
|
||||
@ -171,10 +188,7 @@
|
||||
<default>
|
||||
<key-style
|
||||
latin:styleName="returnKeyStyle"
|
||||
latin:code="@integer/key_return"
|
||||
latin:keyIcon="iconReturnKey"
|
||||
latin:keyActionFlags="noKeyPreview"
|
||||
latin:backgroundType="functional" />
|
||||
latin:parentStyle="defaultReturnKeyStyle" />
|
||||
</default>
|
||||
</switch>
|
||||
<key-style
|
||||
|
Loading…
Reference in New Issue
Block a user