Fix PC Qwerty layout

This CL fixes:
 - Action label never displayed on phone.
 - Go action label incorrectly showed on tablet.
 - Broken layout on noMicrophoneKey+noSettingsKey input field.
 - "Voice input key" settings has no effect on phone.
 - Inconsistent microphone and emoji key layouts.
 - Slightly modified spacebar size when language switch key is on.
 - Slightly larger enter key on tablet.

Bug: 13537661
Change-Id: I69a6ee7bc99e84b104a4d0352e1824096f6a4750
This commit is contained in:
Tadashi G. Takaoka 2014-03-19 17:26:17 +09:00
parent 0dabae720a
commit bdd79917f0
4 changed files with 29 additions and 37 deletions

View file

@ -112,7 +112,7 @@
> >
<key-style <key-style
latin:styleName="enterKeyStyle" latin:styleName="enterKeyStyle"
latin:keySpec="!text/label_go_key|!code/key_shift_enter" latin:keySpec="!icon/enter_key|!code/key_shift_enter"
latin:parentStyle="defaultEnterKeyStyle" /> latin:parentStyle="defaultEnterKeyStyle" />
</case> </case>
<case <case

View file

@ -24,37 +24,32 @@
<Row <Row
latin:keyWidth="7.0%p" latin:keyWidth="7.0%p"
> >
<include
latin:keyWidth="9.0%p"
latin:keyboardLayout="@xml/key_shortcut" />
<switch> <switch>
<case <case
latin:languageSwitchKeyEnabled="true" latin:languageSwitchKeyEnabled="true"
> >
<Key <Key
latin:keyStyle="languageSwitchKeyStyle" latin:keyStyle="languageSwitchKeyStyle"
latin:keyWidth="9.0%p" latin:keyXPos="22.0%p"
latin:backgroundType="functional" /> latin:keyWidth="9.0%p" />
<Key
latin:keyStyle="spaceKeyStyle"
latin:keyWidth="40.0%p" />
</case> </case>
</switch>
<Key
latin:keyStyle="spaceKeyStyle"
latin:keyXPos="25.5%p"
latin:keyWidth="49.0%p" />
<switch>
<case
latin:keyboardLayoutSetElement="alphabet|alphabetAutomaticShifted"
>
<include
latin:keyXPos="-9.0%p"
latin:keyWidth="9.0%p"
latin:keyboardLayout="@xml/key_shortcut" />
</case>
<!-- keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted" -->
<default> <default>
<include <Key
latin:keyXPos="-9.0%p" latin:keyStyle="spaceKeyStyle"
latin:keyWidth="9.0%p" latin:keyXPos="29.0%p"
latin:backgroundType="functional" latin:keyWidth="42.0%p" />
latin:keyboardLayout="@xml/key_f2" />
</default> </default>
</switch> </switch>
<include
latin:keyXPos="-9.0%p"
latin:keyWidth="9.0%p"
latin:backgroundType="functional"
latin:keyboardLayout="@xml/key_f2" />
</Row> </Row>
</merge> </merge>

View file

@ -56,7 +56,7 @@
latin:keyWidth="7.0%p" latin:keyWidth="7.0%p"
> >
<Spacer <Spacer
latin:keyWidth="12.0%p" /> latin:keyWidth="10.0%p" />
<include <include
latin:keyboardLayout="@xml/rowkeys_pcqwerty3" /> latin:keyboardLayout="@xml/rowkeys_pcqwerty3" />
<Key <Key

View file

@ -24,23 +24,21 @@
<Row <Row
latin:keyWidth="7.692%p" latin:keyWidth="7.692%p"
> >
<Spacer
latin:keyWidth="11.538%p" />
<switch> <switch>
<case <case
latin:supportsSwitchingToShortcutIme="true" latin:hasShortcutKey="true"
> >
<Key <Key
latin:keyStyle="shortcutKeyStyle" latin:keyStyle="shortcutKeyStyle"
latin:keyWidth="11.538%p" /> latin:keyWidth="11.538%p" />
</case> </case>
<case <case
latin:clobberSettingsKey="false" latin:clobberSettingsKey="false"
> >
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="11.538%p" /> latin:keyWidth="11.538%p" />
</case> </case>
</switch> </switch>
<switch> <switch>
<case <case
@ -48,24 +46,23 @@
> >
<Key <Key
latin:keyStyle="languageSwitchKeyStyle" latin:keyStyle="languageSwitchKeyStyle"
latin:keyXPos="19.231%p"
latin:keyWidth="11.538%p" /> latin:keyWidth="11.538%p" />
<Key <Key
latin:keyStyle="spaceKeyStyle" latin:keyStyle="spaceKeyStyle"
latin:keyWidth="38.464%p" /> latin:keyWidth="42.308%p" />
</case> </case>
<!-- languageSwitchKeyEnabled="false" --> <!-- languageSwitchKeyEnabled="false" -->
<default> <default>
<Key <Key
latin:keyStyle="spaceKeyStyle" latin:keyStyle="spaceKeyStyle"
latin:keyWidth="50.002%p" /> latin:keyXPos="26.923%p"
latin:keyWidth="46.154%p" />
</default> </default>
</switch> </switch>
<Key <Key
latin:keyStyle="defaultEnterKeyStyle" latin:keyStyle="enterKeyStyle"
latin:keySpec="!icon/enter_key|!code/key_enter" latin:keyXPos="-19.231%p"
latin:keyWidth="15.384%p" />
<Key
latin:keyStyle="emojiKeyStyle"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />
</Row> </Row>
</merge> </merge>