Fix settings keys on tablet

Bug: 18531491
Change-Id: Id374932b71674177abddd6d249ba6e712cbb5d25
This commit is contained in:
Tadashi G. Takaoka 2014-11-27 16:08:53 +09:00
parent bb4075bc93
commit 64885b263e
3 changed files with 3 additions and 13 deletions

View file

@ -35,10 +35,6 @@
latin:keyLabelFlags="hasShiftedLetterHint" />
</default>
</switch>
<!-- Base key style for the key which may have settings key as more keys. -->
<key-style
latin:styleName="baseSettingsMoreKeysStyle"
latin:parentStyle="hasShiftedLetterHintStyle" />
<include
latin:keyboardLayout="@xml/key_styles_settings" />
<!-- Functional key styles -->

View file

@ -35,9 +35,6 @@
latin:keyLabelFlags="hasShiftedLetterHint" />
</default>
</switch>
<!-- Base key style for the key which may have settings key as more keys. -->
<key-style
latin:styleName="baseSettingsMoreKeysStyle" />
<include
latin:keyboardLayout="@xml/key_styles_settings" />
<!-- Functional key styles -->

View file

@ -21,16 +21,14 @@
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<!-- Base key style for the key which may have settings key as more keys. -->
<!-- Kept as a separate file for cleaner overriding by an overlay. -->
<!-- Key style for the key which may have settings key as more keys. -->
<switch>
<case
latin:clobberSettingsKey="true"
>
<key-style
latin:styleName="settingsMoreKeysStyle"
latin:backgroundType="functional"
latin:parentStyle="baseSettingsMoreKeysStyle" />
latin:backgroundType="functional" />
</case>
<!-- clobberSettingsKey="false" -->
<default>
@ -38,8 +36,7 @@
latin:styleName="settingsMoreKeysStyle"
latin:keyLabelFlags="hasPopupHint"
latin:additionalMoreKeys="!text/keyspec_settings"
latin:backgroundType="functional"
latin:parentStyle="baseSettingsMoreKeysStyle" />
latin:backgroundType="functional" />
</default>
</switch>
</merge>