Show settings key when noMicrophone option is enabled on PC QWERTY
Change-Id: Ib419a597e218af347e5d5da19f5ca8b3db8548c7
diff --git a/java/res/xml/key_styles_common.xml b/java/res/xml/key_styles_common.xml
index f0e9170..7981ab3 100644
--- a/java/res/xml/key_styles_common.xml
+++ b/java/res/xml/key_styles_common.xml
@@ -126,6 +126,13 @@
latin:altCode="!code/key_space"
latin:parentStyle="f1MoreKeysStyle" />
<key-style
+ latin:styleName="settingsKeyStyle"
+ latin:code="!code/key_settings"
+ latin:keyIcon="!icon/settings_key"
+ latin:keyActionFlags="noKeyPreview|altCodeWhileTyping"
+ latin:altCode="!code/key_space"
+ latin:backgroundType="functional" />
+ <key-style
latin:styleName="languageSwitchKeyStyle"
latin:code="!code/key_language_switch"
latin:keyIcon="!icon/language_switch_key"
diff --git a/java/res/xml/row_pcqwerty5.xml b/java/res/xml/row_pcqwerty5.xml
index c9ee32c..a8940af 100644
--- a/java/res/xml/row_pcqwerty5.xml
+++ b/java/res/xml/row_pcqwerty5.xml
@@ -48,6 +48,12 @@
<Key
latin:keyStyle="shortcutKeyStyle" />
</case>
+ <case
+ latin:clobberSettingsKey="false"
+ >
+ <Key
+ latin:keyStyle="settingsKeyStyle" />
+ </case>
</switch>
<switch>
<case