Add language switch key to 7 inch tablet
Bug: 6370443 Change-Id: I4079c4b06de7abd677376094dab341f34aa2d234main
parent
78173bdf53
commit
3ee43dccd0
|
@ -24,18 +24,39 @@
|
||||||
<switch>
|
<switch>
|
||||||
<case
|
<case
|
||||||
latin:languageCode="fa"
|
latin:languageCode="fa"
|
||||||
|
latin:languageSwitchKeyEnabled="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="languageSwitchKeyStyle" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="21.950%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:languageCode="fa"
|
||||||
|
latin:languageSwitchKeyEnabled="false"
|
||||||
>
|
>
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="spaceKeyStyle"
|
latin:keyStyle="spaceKeyStyle"
|
||||||
latin:keyXPos="30.750%p"
|
|
||||||
latin:keyWidth="30.850%p" />
|
latin:keyWidth="30.850%p" />
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="zwnjKeyStyle" />
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
|
<case
|
||||||
|
latin:languageSwitchKeyEnabled="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="languageSwitchKeyStyle" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="30.850%p" />
|
||||||
|
</case>
|
||||||
|
<!-- languageSwitchKeyEnabled="false" -->
|
||||||
<default>
|
<default>
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="spaceKeyStyle"
|
latin:keyStyle="spaceKeyStyle"
|
||||||
latin:keyXPos="30.750%p"
|
|
||||||
latin:keyWidth="39.750%p" />
|
latin:keyWidth="39.750%p" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
|
|
|
@ -100,6 +100,12 @@
|
||||||
latin:keyIconDisabled="!icon/shortcut_key_disabled"
|
latin:keyIconDisabled="!icon/shortcut_key_disabled"
|
||||||
latin:keyActionFlags="noKeyPreview|altCodeWhileTyping"
|
latin:keyActionFlags="noKeyPreview|altCodeWhileTyping"
|
||||||
latin:backgroundType="functional" />
|
latin:backgroundType="functional" />
|
||||||
|
<key-style
|
||||||
|
latin:styleName="languageSwitchKeyStyle"
|
||||||
|
latin:code="!code/key_language_switch"
|
||||||
|
latin:keyIcon="!icon/language_switch_key"
|
||||||
|
latin:keyActionFlags="noKeyPreview|altCodeWhileTyping|enableLongPress"
|
||||||
|
latin:altCode="!code/key_space" />
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="settingsKeyStyle"
|
latin:styleName="settingsKeyStyle"
|
||||||
latin:code="!code/key_settings"
|
latin:code="!code/key_settings"
|
||||||
|
|
Loading…
Reference in New Issue