Cleanup <include/> and etc. in keyboard XML

* Remove keyXPos and keyWidth from key_*.xml and make it more generic.
* Add keyXPos and keyWidth to <include/> generalized key_*.xml.
* Remove zero width <Spacer/> and fold into successive <include/>.

Change-Id: I4b5c02a165ba0bc9ef8741be0b4938c1efaf5e27
main
Tadashi G. Takaoka 2012-04-23 15:33:59 +09:00
parent 9a7cdb2051
commit c04075b138
35 changed files with 78 additions and 132 deletions

View File

@ -23,13 +23,7 @@
> >
<switch> <switch>
<case <case
latin:mode="email" latin:mode="email|url"
>
<Key
latin:keyStyle="comKeyStyle" />
</case>
<case
latin:mode="url"
> >
<Key <Key
latin:keyStyle="comKeyStyle" /> latin:keyStyle="comKeyStyle" />

View File

@ -29,24 +29,21 @@
<Key <Key
latin:keyStyle="shortcutKeyStyle" latin:keyStyle="shortcutKeyStyle"
latin:keyLabelFlags="hasPopupHint|preserveCase" latin:keyLabelFlags="hasPopupHint|preserveCase"
latin:moreKeys="!text/settings_as_more_key" latin:moreKeys="!text/settings_as_more_key" />
latin:keyWidth="fillBoth" />
</case> </case>
<case <case
latin:shortcutKeyEnabled="true" latin:shortcutKeyEnabled="true"
latin:clobberSettingsKey="true" latin:clobberSettingsKey="true"
> >
<Key <Key
latin:keyStyle="shortcutKeyStyle" latin:keyStyle="shortcutKeyStyle" />
latin:keyWidth="fillBoth" />
</case> </case>
<case <case
latin:shortcutKeyEnabled="false" latin:shortcutKeyEnabled="false"
latin:clobberSettingsKey="false" latin:clobberSettingsKey="false"
> >
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle" />
latin:keyWidth="fillBoth" />
</case> </case>
<!-- shortcutKeyEnabled="false" clobberSettingsKey="true" --> <!-- shortcutKeyEnabled="false" clobberSettingsKey="true" -->
<default> <default>

View File

@ -21,9 +21,6 @@
<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"
> >
<Spacer
latin:keyWidth="0dp"
latin:keyXPos="30.750%p" />
<switch> <switch>
<case <case
latin:languageCode="fa" latin:languageCode="fa"

View File

@ -32,15 +32,15 @@
<include <include
latin:keyboardLayout="@xml/key_f1" /> latin:keyboardLayout="@xml/key_f1" />
<include <include
latin:keyXPos="30.750%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<include <include
latin:keyboardLayout="@xml/key_question_exclamation" /> latin:keyboardLayout="@xml/key_question_exclamation" />
<include <include
latin:keyboardLayout="@xml/key_dash" /> latin:keyboardLayout="@xml/key_dash" />
<Spacer
latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-10.00%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -35,10 +35,9 @@
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<include <include
latin:keyboardLayout="@xml/keys_comma_period" /> latin:keyboardLayout="@xml/keys_comma_period" />
<Spacer
latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-10.0%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -32,15 +32,15 @@
<include <include
latin:keyboardLayout="@xml/key_f1" /> latin:keyboardLayout="@xml/key_f1" />
<include <include
latin:keyXPos="30.750%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<include <include
latin:keyboardLayout="@xml/key_apostrophe" /> latin:keyboardLayout="@xml/key_apostrophe" />
<include <include
latin:keyboardLayout="@xml/key_dash" /> latin:keyboardLayout="@xml/key_dash" />
<Spacer
latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-10.00%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -32,16 +32,16 @@
<Key <Key
latin:keyLabel="\@" /> latin:keyLabel="\@" />
<include <include
latin:keyXPos="30.750%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<Key <Key
latin:keyLabel="&quot;" latin:keyLabel="&quot;"
latin:moreKeys="!text/more_keys_for_tablet_double_quote" /> latin:moreKeys="!text/more_keys_for_tablet_double_quote" />
<Key <Key
latin:keyLabel="_" /> latin:keyLabel="_" />
<Spacer
latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-10.0%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -30,11 +30,11 @@
<Key <Key
latin:keyStyle="tabKeyStyle" /> latin:keyStyle="tabKeyStyle" />
<include <include
latin:keyXPos="30.750%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<Spacer
latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-10.00%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -30,7 +30,7 @@
latin:keyboardLayout="@xml/rowkeys_colemak1" latin:keyboardLayout="@xml/rowkeys_colemak1"
latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" /> latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" />
<include <include
latin:keyboardLayout="@xml/key_colemak_semicolon" /> latin:keyboardLayout="@xml/key_colemak_colon" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillBoth" /> latin:keyWidth="fillBoth" />

View File

@ -38,7 +38,7 @@
> >
<include <include
latin:keyboardLayout="@xml/rowkeys_hindi2" latin:keyboardLayout="@xml/rowkeys_hindi2"
latin:keyXPos="4.500%p" /> latin:keyXPos="4.5%p" />
<Key <Key
latin:keyStyle="enterKeyStyle" latin:keyStyle="enterKeyStyle"
latin:keyWidth="fillBoth" /> latin:keyWidth="fillBoth" />
@ -54,7 +54,9 @@
<include <include
latin:keyboardLayout="@xml/keys_comma_period" /> latin:keyboardLayout="@xml/keys_comma_period" />
<include <include
latin:keyboardLayout="@xml/key_smiley" /> latin:keyboardLayout="@xml/key_smiley"
latin:keyXPos="-7.5%p"
latin:keyWidth="fillRight" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/row_qwerty4" /> latin:keyboardLayout="@xml/row_qwerty4" />

View File

@ -55,7 +55,7 @@
latin:keyboardLayout="@xml/keys_comma_period" /> latin:keyboardLayout="@xml/keys_comma_period" />
<include <include
latin:keyboardLayout="@xml/key_smiley" latin:keyboardLayout="@xml/key_smiley"
latin:keyXPos="-9.0%p" latin:keyXPos="-7.6%p"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />
</Row> </Row>
<include <include

View File

@ -135,8 +135,7 @@
latin:keyLabel="9" latin:keyLabel="9"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
@ -155,10 +154,9 @@
<Key <Key
latin:keyLabel="#" latin:keyLabel="#"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<Spacer
latin:keyXPos="-11.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-11.0%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -62,8 +62,7 @@
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
@ -72,10 +71,9 @@
<Key <Key
latin:keyStyle="num0KeyStyle" latin:keyStyle="num0KeyStyle"
latin:keyXPos="42.50%p"/> latin:keyXPos="42.50%p"/>
<Spacer
latin:keyXPos="-11.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-11.00%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -104,8 +104,7 @@
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
<Row> <Row>
<Key <Key
@ -123,10 +122,9 @@
<Key <Key
latin:keyLabel="#" latin:keyLabel="#"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<Spacer
latin:keyXPos="-11.00%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="-11.0%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -26,9 +26,7 @@
latin:shortcutKeyEnabled="true" latin:shortcutKeyEnabled="true"
> >
<Key <Key
latin:keyStyle="shortcutKeyStyle" latin:keyStyle="shortcutKeyStyle" />
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" />
</case> </case>
</switch> </switch>
</merge> </merge>

View File

@ -21,9 +21,6 @@
<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"
> >
<Spacer
latin:keyWidth="0dp"
latin:keyXPos="31.250%p" />
<switch> <switch>
<case <case
latin:languageCode="fa" latin:languageCode="fa"

View File

@ -26,18 +26,19 @@
> >
<include <include
latin:keyboardLayout="@xml/key_settings" /> latin:keyboardLayout="@xml/key_settings" />
<Spacer
latin:keyXPos="15.157%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="15.157%p"
latin:keyboardLayout="@xml/keys_f1f2" /> latin:keyboardLayout="@xml/keys_f1f2" />
<include <include
latin:keyXPos="31.250%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<include <include
latin:keyboardLayout="@xml/key_question_exclamation" /> latin:keyboardLayout="@xml/key_question_exclamation" />
<include <include
latin:keyboardLayout="@xml/key_dash" /> latin:keyboardLayout="@xml/key_dash" />
<include <include
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -26,16 +26,16 @@
> >
<include <include
latin:keyboardLayout="@xml/key_settings" /> latin:keyboardLayout="@xml/key_settings" />
<Spacer
latin:keyXPos="15.157%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="15.157%p"
latin:keyboardLayout="@xml/keys_f1f2" /> latin:keyboardLayout="@xml/keys_f1f2" />
<include <include
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<include <include
latin:keyboardLayout="@xml/keys_comma_period" /> latin:keyboardLayout="@xml/keys_comma_period" />
<include <include
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -26,18 +26,19 @@
> >
<include <include
latin:keyboardLayout="@xml/key_settings" /> latin:keyboardLayout="@xml/key_settings" />
<Spacer
latin:keyXPos="15.157%p"
latin:keyWidth="0%p" />
<include <include
latin:keyXPos="15.157%p"
latin:keyboardLayout="@xml/keys_f1f2" /> latin:keyboardLayout="@xml/keys_f1f2" />
<include <include
latin:keyXPos="31.250%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<include <include
latin:keyboardLayout="@xml/key_apostrophe" /> latin:keyboardLayout="@xml/key_apostrophe" />
<include <include
latin:keyboardLayout="@xml/key_dash" /> latin:keyboardLayout="@xml/key_dash" />
<include <include
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight"
latin:keyboardLayout="@xml/key_shortcut" /> latin:keyboardLayout="@xml/key_shortcut" />
</Row> </Row>
</merge> </merge>

View File

@ -32,21 +32,16 @@
<Key <Key
latin:keyLabel="\@" /> latin:keyLabel="\@" />
<include <include
latin:keyXPos="31.250%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<Key <Key
latin:keyLabel="&quot;" latin:keyLabel="&quot;"
latin:moreKeys="!text/more_keys_for_tablet_double_quote" /> latin:moreKeys="!text/more_keys_for_tablet_double_quote" />
<Key <Key
latin:keyLabel="_" /> latin:keyLabel="_" />
<switch> <include
<case latin:keyXPos="-8.047%p"
latin:shortcutKeyEnabled="true" latin:keyWidth="fillRight"
> latin:keyboardLayout="@xml/key_shortcut" />
<Key
latin:keyStyle="shortcutKeyStyle"
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" />
</case>
</switch>
</Row> </Row>
</merge> </merge>

View File

@ -27,16 +27,11 @@
<include <include
latin:keyboardLayout="@xml/key_settings" /> latin:keyboardLayout="@xml/key_settings" />
<include <include
latin:keyXPos="31.250%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<switch> <include
<case latin:keyXPos="-8.047%p"
latin:shortcutKeyEnabled="true" latin:keyWidth="fillRight"
> latin:keyboardLayout="@xml/key_shortcut" />
<Key
latin:keyStyle="shortcutKeyStyle"
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" />
</case>
</switch>
</Row> </Row>
</merge> </merge>

View File

@ -34,7 +34,7 @@
latin:keyboardLayout="@xml/rowkeys_colemak1" latin:keyboardLayout="@xml/rowkeys_colemak1"
latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" /> latin:keyLabelFlags="disableAdditionalMoreKeys|disableKeyHintLabel" />
<include <include
latin:keyboardLayout="@xml/key_colemak_semicolon" /> latin:keyboardLayout="@xml/key_colemak_colon" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillBoth" /> latin:keyWidth="fillBoth" />

View File

@ -137,8 +137,7 @@
latin:keyLabel="9" latin:keyLabel="9"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
<Row> <Row>
<include <include
@ -157,20 +156,9 @@
<Key <Key
latin:keyLabel="#" latin:keyLabel="#"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<switch> <include
<case latin:keyXPos="-8.047%p"
latin:shortcutKeyEnabled="true" latin:keyWidth="fillRight"
> latin:keyboardLayout="@xml/key_shortcut" />
<Key
latin:keyStyle="shortcutKeyStyle"
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" />
</case>
<default>
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</default>
</switch>
</Row> </Row>
</merge> </merge>

View File

@ -64,16 +64,16 @@
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
<Row> <Row>
<Spacer <include
latin:keyXPos="32.076%p" /> latin:keyboardLayout="@xml/key_settings"
latin:keyWidth="8.047%p" />
<Key <Key
latin:keyXPos="45.326%p"
latin:keyStyle="num0KeyStyle" /> latin:keyStyle="num0KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
</merge> </merge>

View File

@ -106,8 +106,7 @@
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. --> <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer <Spacer />
latin:keyWidth="0%p" />
</Row> </Row>
<Row> <Row>
<include <include
@ -125,20 +124,9 @@
<Key <Key
latin:keyLabel="#" latin:keyLabel="#"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<switch> <include
<case latin:keyXPos="-8.047%p"
latin:shortcutKeyEnabled="true" latin:keyWidth="fillRight"
> latin:keyboardLayout="@xml/key_shortcut" />
<Key
latin:keyStyle="shortcutKeyStyle"
latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" />
</case>
<default>
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</default>
</switch>
</Row> </Row>
</merge> </merge>

View File

@ -28,7 +28,7 @@
> >
<include <include
latin:keyboardLayout="@xml/rowkeys_thai1" latin:keyboardLayout="@xml/rowkeys_thai1"
latin:keyXPos="11.508%p"/> latin:keyXPos="11.508%p" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillBoth"/> latin:keyWidth="fillBoth"/>

View File

@ -21,9 +21,6 @@
<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"
> >
<Spacer
latin:keyWidth="0dp"
latin:keyXPos="25%p" />
<switch> <switch>
<case <case
latin:languageCode="fa" latin:languageCode="fa"

View File

@ -78,6 +78,7 @@
</default> </default>
</switch> </switch>
<include <include
latin:keyXPos="25%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"

View File

@ -30,6 +30,7 @@
<include <include
latin:keyboardLayout="@xml/key_f1" /> latin:keyboardLayout="@xml/key_f1" />
<include <include
latin:keyXPos="25%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<Key <Key
latin:keyStyle="punctuationKeyStyle" /> latin:keyStyle="punctuationKeyStyle" />

View File

@ -44,6 +44,7 @@
</default> </default>
</switch> </switch>
<include <include
latin:keyXPos="25%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<Key <Key
latin:keyStyle="punctuationKeyStyle" /> latin:keyStyle="punctuationKeyStyle" />

View File

@ -36,6 +36,7 @@
latin:keyLabel="&#x201E;" latin:keyLabel="&#x201E;"
latin:backgroundType="functional" /> latin:backgroundType="functional" />
<include <include
latin:keyXPos="25%p"
latin:keyboardLayout="@xml/key_space" /> latin:keyboardLayout="@xml/key_space" />
<!-- U+2026: "…" HORIZONTAL ELLIPSIS --> <!-- U+2026: "…" HORIZONTAL ELLIPSIS -->
<Key <Key

View File

@ -29,7 +29,7 @@
<include <include
latin:keyboardLayout="@xml/rowkeys_colemak1" /> latin:keyboardLayout="@xml/rowkeys_colemak1" />
<include <include
latin:keyboardLayout="@xml/key_colemak_semicolon" /> latin:keyboardLayout="@xml/key_colemak_colon" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"

View File

@ -20,7 +20,6 @@
<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"
latin:keyWidth="26.67%p"
> >
<include <include
latin:keyboardLayout="@xml/key_styles_common" /> latin:keyboardLayout="@xml/key_styles_common" />