Add language switch key to 10" tablet
Bug: 6637175 Change-Id: Ife9c9a6d35bd3cb4de406b388c504846b35059e7main
parent
2b077a6576
commit
f6235167b7
|
@ -24,15 +24,36 @@
|
||||||
<switch>
|
<switch>
|
||||||
<case
|
<case
|
||||||
latin:languageCode="fa"
|
latin:languageCode="fa"
|
||||||
|
latin:languageSwitchKeyEnabled="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="languageSwitchKeyStyle" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="24.141%p" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
|
</case>
|
||||||
|
<case
|
||||||
|
latin:languageCode="fa"
|
||||||
|
latin:languageSwitchKeyEnabled="false"
|
||||||
>
|
>
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="spaceKeyStyle"
|
latin:keyStyle="spaceKeyStyle"
|
||||||
latin:keyWidth="32.188%p" />
|
latin:keyWidth="32.188%p" />
|
||||||
<!-- U+200C: "" ZERO WIDTH NON-JOINER
|
|
||||||
U+200D: "" ZERO WIDTH JOINER -->
|
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="zwnjKeyStyle" />
|
latin:keyStyle="zwnjKeyStyle" />
|
||||||
</case>
|
</case>
|
||||||
|
<case
|
||||||
|
latin:languageSwitchKeyEnabled="true"
|
||||||
|
>
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="languageSwitchKeyStyle" />
|
||||||
|
<Key
|
||||||
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
latin:keyWidth="32.188%p" />
|
||||||
|
</case>
|
||||||
|
<!-- languageSwitchKeyEnabled="false" -->
|
||||||
<default>
|
<default>
|
||||||
<Key
|
<Key
|
||||||
latin:keyStyle="spaceKeyStyle"
|
latin:keyStyle="spaceKeyStyle"
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="spaceKeyStyle"
|
latin:styleName="spaceKeyStyle"
|
||||||
latin:code="!code/key_space"
|
latin:code="!code/key_space"
|
||||||
latin:keyActionFlags="noKeyPreview" />
|
latin:keyActionFlags="noKeyPreview|enableLongPress" />
|
||||||
<!-- U+200C: ZERO WIDTH NON-JOINER
|
<!-- U+200C: ZERO WIDTH NON-JOINER
|
||||||
U+200D: ZERO WIDTH JOINER -->
|
U+200D: ZERO WIDTH JOINER -->
|
||||||
<key-style
|
<key-style
|
||||||
|
@ -99,6 +99,12 @@
|
||||||
latin:keyIconDisabled="!icon/shortcut_key_disabled"
|
latin:keyIconDisabled="!icon/shortcut_key_disabled"
|
||||||
latin:keyActionFlags="noKeyPreview"
|
latin:keyActionFlags="noKeyPreview"
|
||||||
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