Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6235167 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Add language switch key to 10" tablet

Bug: 6637175
Change-Id: Ife9c9a6d35bd3cb4de406b388c504846b35059e7
parent 2b077a65
Loading
Loading
Loading
Loading
+23 −2
Original line number Diff line number Diff line
@@ -24,15 +24,36 @@
    <switch>
        <case
            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
                latin:keyStyle="spaceKeyStyle"
                latin:keyWidth="32.188%p" />
            <!-- U+200C: "" ZERO WIDTH NON-JOINER
                 U+200D: "" ZERO WIDTH JOINER -->
            <Key
                latin:keyStyle="zwnjKeyStyle" />
        </case>
        <case
            latin:languageSwitchKeyEnabled="true"
        >
            <Key
                latin:keyStyle="languageSwitchKeyStyle" />
            <Key
                latin:keyStyle="spaceKeyStyle"
                latin:keyWidth="32.188%p" />
        </case>
         <!-- languageSwitchKeyEnabled="false" -->
        <default>
            <Key
                latin:keyStyle="spaceKeyStyle"
+7 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@
    <key-style
        latin:styleName="spaceKeyStyle"
        latin:code="!code/key_space"
        latin:keyActionFlags="noKeyPreview" />
        latin:keyActionFlags="noKeyPreview|enableLongPress" />
    <!-- U+200C: ZERO WIDTH NON-JOINER
         U+200D: ZERO WIDTH JOINER -->
    <key-style
@@ -99,6 +99,12 @@
        latin:keyIconDisabled="!icon/shortcut_key_disabled"
        latin:keyActionFlags="noKeyPreview"
        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
        latin:styleName="settingsKeyStyle"
        latin:code="!code/key_settings"