Fix settings keys on tablet
Bug: 18531491 Change-Id: Id374932b71674177abddd6d249ba6e712cbb5d25
This commit is contained in:
parent
bb4075bc93
commit
64885b263e
3 changed files with 3 additions and 13 deletions
|
@ -35,10 +35,6 @@
|
||||||
latin:keyLabelFlags="hasShiftedLetterHint" />
|
latin:keyLabelFlags="hasShiftedLetterHint" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
<!-- Base key style for the key which may have settings key as more keys. -->
|
|
||||||
<key-style
|
|
||||||
latin:styleName="baseSettingsMoreKeysStyle"
|
|
||||||
latin:parentStyle="hasShiftedLetterHintStyle" />
|
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/key_styles_settings" />
|
latin:keyboardLayout="@xml/key_styles_settings" />
|
||||||
<!-- Functional key styles -->
|
<!-- Functional key styles -->
|
||||||
|
|
|
@ -35,9 +35,6 @@
|
||||||
latin:keyLabelFlags="hasShiftedLetterHint" />
|
latin:keyLabelFlags="hasShiftedLetterHint" />
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
<!-- Base key style for the key which may have settings key as more keys. -->
|
|
||||||
<key-style
|
|
||||||
latin:styleName="baseSettingsMoreKeysStyle" />
|
|
||||||
<include
|
<include
|
||||||
latin:keyboardLayout="@xml/key_styles_settings" />
|
latin:keyboardLayout="@xml/key_styles_settings" />
|
||||||
<!-- Functional key styles -->
|
<!-- Functional key styles -->
|
||||||
|
|
|
@ -21,16 +21,14 @@
|
||||||
<merge
|
<merge
|
||||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
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. -->
|
<!-- Key style for the key which may have settings key as more keys. -->
|
||||||
<!-- Kept as a separate file for cleaner overriding by an overlay. -->
|
|
||||||
<switch>
|
<switch>
|
||||||
<case
|
<case
|
||||||
latin:clobberSettingsKey="true"
|
latin:clobberSettingsKey="true"
|
||||||
>
|
>
|
||||||
<key-style
|
<key-style
|
||||||
latin:styleName="settingsMoreKeysStyle"
|
latin:styleName="settingsMoreKeysStyle"
|
||||||
latin:backgroundType="functional"
|
latin:backgroundType="functional" />
|
||||||
latin:parentStyle="baseSettingsMoreKeysStyle" />
|
|
||||||
</case>
|
</case>
|
||||||
<!-- clobberSettingsKey="false" -->
|
<!-- clobberSettingsKey="false" -->
|
||||||
<default>
|
<default>
|
||||||
|
@ -38,8 +36,7 @@
|
||||||
latin:styleName="settingsMoreKeysStyle"
|
latin:styleName="settingsMoreKeysStyle"
|
||||||
latin:keyLabelFlags="hasPopupHint"
|
latin:keyLabelFlags="hasPopupHint"
|
||||||
latin:additionalMoreKeys="!text/keyspec_settings"
|
latin:additionalMoreKeys="!text/keyspec_settings"
|
||||||
latin:backgroundType="functional"
|
latin:backgroundType="functional" />
|
||||||
latin:parentStyle="baseSettingsMoreKeysStyle" />
|
|
||||||
</default>
|
</default>
|
||||||
</switch>
|
</switch>
|
||||||
</merge>
|
</merge>
|
||||||
|
|
Loading…
Reference in a new issue