Merge "Remove Key edge flags from XML"

main
Tadashi G. Takaoka 2011-07-20 17:00:33 -07:00 committed by Android (Google) Code Review
commit 8507589085
59 changed files with 393 additions and 646 deletions

View File

@ -175,13 +175,6 @@
<attr name="popupCharacters" format="string" /> <attr name="popupCharacters" format="string" />
<!-- Maximum column of popup keyboard --> <!-- Maximum column of popup keyboard -->
<attr name="maxPopupKeyboardColumn" format="integer" /> <attr name="maxPopupKeyboardColumn" format="integer" />
<!-- Key edge flags. -->
<attr name="keyEdgeFlags" format="integer">
<!-- Key is anchored to the left of the keyboard. -->
<flag name="left" value="1" />
<!-- Key is anchored to the right of the keyboard. -->
<flag name="right" value="2" />
</attr>
<!-- Whether this is a functional key which has different key top than normal key. --> <!-- Whether this is a functional key which has different key top than normal key. -->
<attr name="isFunctional" format="boolean" /> <attr name="isFunctional" format="boolean" />
<!-- Whether this is a toggle key. --> <!-- Whether this is a toggle key. -->
@ -248,16 +241,6 @@
<attr name="keyXPos" format="dimension|fraction" /> <attr name="keyXPos" format="dimension|fraction" />
</declare-styleable> </declare-styleable>
<declare-styleable name="Keyboard_Row">
<!-- Row edge flags. -->
<attr name="rowEdgeFlags" format="integer">
<!-- Row is anchored to the top of the keyboard. -->
<flag name="top" value="4" />
<!-- Row is anchored to the bottom of the keyboard. -->
<flag name="bottom" value="8" />
</attr>
</declare-styleable>
<declare-styleable name="Keyboard_Include"> <declare-styleable name="Keyboard_Include">
<attr name="keyboardLayout" format="reference" /> <attr name="keyboardLayout" format="reference" />
</declare-styleable> </declare-styleable>

View File

@ -30,11 +30,12 @@
<case <case
latin:passwordInput="true" latin:passwordInput="true"
> >
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="24.875%p" />
<Key <Key
latin:keyStyle="num1KeyStyle" latin:keyStyle="num1KeyStyle" />
latin:keyXPos="24.875%p" />
<Key <Key
latin:keyStyle="num2KeyStyle" /> latin:keyStyle="num2KeyStyle" />
<Key <Key
@ -42,13 +43,14 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="24.875%p" />
<Key <Key
latin:keyStyle="num4KeyStyle" latin:keyStyle="num4KeyStyle" />
latin:keyXPos="24.875%p" />
<Key <Key
latin:keyStyle="num5KeyStyle" /> latin:keyStyle="num5KeyStyle" />
<Key <Key
@ -56,24 +58,26 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="24.875%p" />
<Key <Key
latin:keyStyle="num7KeyStyle" latin:keyStyle="num7KeyStyle" />
latin:keyXPos="24.875%p" />
<Key <Key
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyWidth="11.00%p" latin:keyWidth="11.00%p" />
latin:keyEdgeFlags="left" />
<Spacer <Spacer
latin:keyXPos="24.875%p" /> latin:keyXPos="24.875%p" />
<Key <Key
@ -87,12 +91,13 @@
</case> </case>
<!-- latin:passwordInput="false" --> <!-- latin:passwordInput="false" -->
<default> <default>
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="11.00%p" />
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="11.00%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel="+" latin:keyLabel="+"
@ -115,13 +120,14 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="11.00%p" />
<Key <Key
latin:keyStyle="numStarKeyStyle" latin:keyStyle="numStarKeyStyle"
latin:keyXPos="11.00%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel="/" latin:keyLabel="/"
@ -144,17 +150,15 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- There is an empty area below the "More" key and left of the "(" key. To <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
ignore the touch event on the area, "(" is intentionally not marked as a left <Spacer
edge key. --> latin:keyWidth="11.00%p" />
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="11.00%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel=")" latin:keyLabel=")"
@ -174,13 +178,14 @@
<Key <Key
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. -->
<Spacer
latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyWidth="11.00%p" latin:keyWidth="11.00%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
latin:keyWidth="27.75%p" /> latin:keyWidth="27.75%p" />

View File

@ -26,12 +26,13 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_numkey_styles" /> latin:keyboardLayout="@xml/kbd_numkey_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="15.625%p" />
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="15.625%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel="+" latin:keyLabel="+"
@ -47,14 +48,15 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="15.625%p" />
<Key <Key
latin:keyLabel="," latin:keyLabel=","
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="15.625%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel="." latin:keyLabel="."
@ -70,16 +72,12 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="11.0%p" latin:keyWidth="11.0%p" />
latin:keyEdgeFlags="left" />
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore
the touch event on the area, "(" is intentionally not marked as a left edge key. -->
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -96,13 +94,14 @@
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyWidth="11.00%p" latin:keyWidth="11.00%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
latin:keyXPos="15.625%p" latin:keyXPos="15.625%p"

View File

@ -26,12 +26,13 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_numkey_styles" /> latin:keyboardLayout="@xml/kbd_numkey_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="11.00%p" />
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="11.00%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel="+" latin:keyLabel="+"
@ -51,14 +52,15 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="11.00%p" />
<Key <Key
latin:keyLabel="," latin:keyLabel=","
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="11.00%p"
latin:keyWidth="9.25%p" /> latin:keyWidth="9.25%p" />
<Key <Key
latin:keyLabel="." latin:keyLabel="."
@ -78,16 +80,12 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.00%p" latin:keyXPos="-11.00%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="11.00%p" latin:keyWidth="11.00%p" />
latin:keyEdgeFlags="left" />
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore
the touch event on the area, "(" is intentionally not marked as a left edge key. -->
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -107,13 +105,14 @@
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyWidth="11.00%p" latin:keyWidth="11.00%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
latin:keyWidth="27.75%p" /> latin:keyWidth="27.75%p" />

View File

@ -27,8 +27,7 @@
> >
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</case> </case>
<case <case
latin:f2KeyMode="shortcutIme" latin:f2KeyMode="shortcutIme"
@ -39,8 +38,7 @@
> >
<Key <Key
latin:keyStyle="shortcutKeyStyle" latin:keyStyle="shortcutKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</case> </case>
<!-- voiceKeyEnabled="false" --> <!-- voiceKeyEnabled="false" -->
<default> <default>
@ -57,15 +55,13 @@
> >
<Key <Key
latin:keyStyle="shortcutKeyStyle" latin:keyStyle="shortcutKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</case> </case>
<!-- voiceKeyEnabled="false" --> <!-- voiceKeyEnabled="false" -->
<default> <default>
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</default> </default>
</switch> </switch>
</case> </case>

View File

@ -23,12 +23,10 @@
> >
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:popupCharacters="@string/alternates_for_w" /> latin:popupCharacters="@string/alternates_for_w" />
@ -59,7 +57,6 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -27,8 +27,7 @@
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a"
latin:keyXPos="4.5%p" latin:keyXPos="4.5%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -53,7 +52,6 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -26,8 +26,7 @@
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"
latin:popupCharacters="@string/alternates_for_z" /> latin:popupCharacters="@string/alternates_for_z" />

View File

@ -21,15 +21,13 @@
<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"
> >
<!-- This row is intentionally not marked as a bottom row -->
<Row <Row
latin:keyWidth="8.9%p" latin:keyWidth="8.9%p"
> >
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="13.0%p" latin:keyWidth="13.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="tabKeyStyle" /> latin:keyStyle="tabKeyStyle" />
<switch> <switch>

View File

@ -28,8 +28,7 @@
<Key <Key
latin:keyLabel="\@" latin:keyLabel="\@"
latin:keyXPos="-8.9%p" latin:keyXPos="-8.9%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</case> </case>
<case <case
latin:mode="url" latin:mode="url"
@ -40,8 +39,7 @@
latin:keyHintLabel="_" latin:keyHintLabel="_"
latin:popupCharacters="_" latin:popupCharacters="_"
latin:keyXPos="-8.9%p" latin:keyXPos="-8.9%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</case> </case>
<case <case
latin:imeAction="actionSearch" latin:imeAction="actionSearch"
@ -52,15 +50,13 @@
latin:keyHintLabel="+" latin:keyHintLabel="+"
latin:popupCharacters="+" latin:popupCharacters="+"
latin:keyXPos="-8.9%p" latin:keyXPos="-8.9%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="smileyKeyStyle" latin:keyStyle="smileyKeyStyle"
latin:keyXPos="-8.9%p" latin:keyXPos="-8.9%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</default> </default>
</switch> </switch>
</merge> </merge>

View File

@ -27,8 +27,7 @@
latin:keyWidth="8.0%p" latin:keyWidth="8.0%p"
> >
<Key <Key
latin:keyLabel="ض" latin:keyLabel="ض" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ص" /> latin:keyLabel="ص" />
<Key <Key
@ -57,8 +56,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.0%p" latin:keyWidth="8.0%p"
@ -105,8 +103,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.0%p" latin:keyWidth="8.0%p"
@ -117,8 +114,7 @@
latin:mode="email" latin:mode="email"
> >
<Key <Key
latin:keyLabel="\@" latin:keyLabel="\@" />
latin:keyEdgeFlags="left" />
</case> </case>
<case <case
latin:mode="url" latin:mode="url"
@ -127,8 +123,7 @@
latin:keyLabel="-" latin:keyLabel="-"
latin:keyLabelOption="hasUppercaseLetter" latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_" latin:keyHintLabel="_"
latin:popupCharacters="_" latin:popupCharacters="_" />
latin:keyEdgeFlags="left" />
</case> </case>
<case <case
latin:imeAction="actionSearch" latin:imeAction="actionSearch"
@ -137,13 +132,11 @@
latin:keyLabel=":" latin:keyLabel=":"
latin:keyLabelOption="hasUppercaseLetter" latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="+" latin:keyHintLabel="+"
latin:popupCharacters="+" latin:popupCharacters="+" />
latin:keyEdgeFlags="left" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="smileyKeyStyle" latin:keyStyle="smileyKeyStyle" />
latin:keyEdgeFlags="left" />
</default> </default>
</switch> </switch>
<Key <Key

View File

@ -25,12 +25,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="8.5%p" latin:keyWidth="8.5%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"
latin:popupCharacters="@string/alternates_for_z" /> latin:popupCharacters="@string/alternates_for_z" />
@ -61,8 +59,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.5%p" latin:keyWidth="8.5%p"
@ -70,8 +67,7 @@
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q"
latin:keyXPos="5.0%p" latin:keyXPos="5.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -98,16 +94,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.5%p" latin:keyWidth="8.5%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:popupCharacters="@string/alternates_for_w" /> latin:popupCharacters="@string/alternates_for_w" />

View File

@ -25,7 +25,6 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
latin:rowEdgeFlags="top"
> >
<include <include
latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" /> latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" />
@ -48,8 +47,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-12.000%p" latin:keyXPos="-12.000%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
@ -89,8 +87,7 @@
> >
<Key <Key
latin:keyLabel="\@" latin:keyLabel="\@"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
</case> </case>
<case <case
latin:mode="url" latin:mode="url"
@ -100,8 +97,7 @@
latin:keyLabelOption="hasUppercaseLetter" latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_" latin:keyHintLabel="_"
latin:popupCharacters="_" latin:popupCharacters="_"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
</case> </case>
<case <case
latin:imeAction="actionSearch" latin:imeAction="actionSearch"
@ -111,14 +107,12 @@
latin:keyLabelOption="hasUppercaseLetter" latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="+" latin:keyHintLabel="+"
latin:popupCharacters="+" latin:popupCharacters="+"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="smileyKeyStyle" latin:keyStyle="smileyKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
</default> </default>
</switch> </switch>
<Key <Key
@ -146,8 +140,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-10.400%p" latin:keyXPos="-10.400%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -25,12 +25,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:popupCharacters="@string/alternates_for_w" /> latin:popupCharacters="@string/alternates_for_w" />
@ -61,8 +59,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row2" /> latin:keyboardLayout="@xml/kbd_qwerty_row2" />
@ -71,8 +68,7 @@
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="y" latin:keyLabel="y"
latin:popupCharacters="@string/alternates_for_y" /> latin:popupCharacters="@string/alternates_for_y" />

View File

@ -25,11 +25,9 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="7.60%p" latin:keyWidth="7.60%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="й" latin:keyLabel="й" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ц" /> latin:keyLabel="ц" />
<Key <Key
@ -56,8 +54,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.60%p" latin:keyWidth="7.60%p"
@ -88,15 +85,13 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.60%p" latin:keyWidth="7.60%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="я" /> latin:keyLabel="я" />
<Key <Key

View File

@ -25,12 +25,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="7.9%p" latin:keyWidth="7.9%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:popupCharacters="@string/alternates_for_w" /> latin:popupCharacters="@string/alternates_for_w" />
@ -63,8 +61,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.9%p" latin:keyWidth="7.9%p"
@ -72,8 +69,7 @@
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:keyXPos="3.5%p" latin:keyXPos="3.5%p"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -104,16 +100,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.9%p" latin:keyWidth="7.9%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
<Spacer <Spacer
latin:keyWidth="4.35%p" /> latin:keyWidth="4.35%p" />
<Key <Key

View File

@ -25,12 +25,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="8.0%p" latin:keyWidth="8.0%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="љ" latin:keyLabel="љ"
latin:keyXPos="2.15%p" latin:keyXPos="2.15%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="њ" /> latin:keyLabel="њ" />
<Key <Key
@ -54,15 +52,13 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.9%p" latin:keyWidth="7.9%p"
> >
<Key <Key
latin:keyLabel="а" latin:keyLabel="а" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="с" /> latin:keyLabel="с" />
<Key <Key
@ -86,16 +82,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.5%p" latin:keyWidth="7.5%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="8.0%p" latin:keyWidth="8.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ѕ" /> latin:keyLabel="ѕ" />
<Key <Key

View File

@ -31,8 +31,7 @@
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a"
latin:keyXPos="5.0%p" latin:keyXPos="5.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -59,8 +58,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row3" /> latin:keyboardLayout="@xml/kbd_qwerty_row3" />

View File

@ -25,14 +25,12 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_currency_key_styles" /> latin:keyboardLayout="@xml/kbd_currency_key_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
> >
<Key <Key
latin:keyLabel="@string/keylabel_for_symbols_1" latin:keyLabel="@string/keylabel_for_symbols_1"
latin:popupCharacters="@string/alternates_for_symbols_1" latin:popupCharacters="@string/alternates_for_symbols_1" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="@string/keylabel_for_symbols_2" latin:keyLabel="@string/keylabel_for_symbols_2"
latin:popupCharacters="@string/alternates_for_symbols_2" /> latin:popupCharacters="@string/alternates_for_symbols_2" />
@ -63,8 +61,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
@ -97,16 +94,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.9%p" latin:keyWidth="8.9%p"
> >
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="&lt;" latin:keyLabel="&lt;"
latin:popupCharacters="≤,«," /> latin:popupCharacters="≤,«," />
@ -147,15 +142,13 @@
latin:keyLabel="/" latin:keyLabel="/"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row <Row
latin:keyWidth="8.9%p" latin:keyWidth="8.9%p"
> >
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="13.0%p" latin:keyWidth="13.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="tabKeyStyle" /> latin:keyStyle="tabKeyStyle" />
<Key <Key

View File

@ -23,7 +23,6 @@
> >
<include <include
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
> >
@ -60,8 +59,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p" latin:keyXPos="-10.0%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="9.0%p" latin:keyWidth="9.0%p"
@ -97,16 +95,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-14.6%p" latin:keyXPos="-14.6%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.9%p" latin:keyWidth="8.9%p"
> >
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="10.0%p" latin:keyWidth="10.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="\\" /> latin:keyLabel="\\" />
<Key <Key
@ -132,15 +128,13 @@
latin:keyStyle="nonPasswordSymbolKeyStyle" latin:keyStyle="nonPasswordSymbolKeyStyle"
latin:keyLabel="¿" /> latin:keyLabel="¿" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row <Row
latin:keyWidth="8.9%p" latin:keyWidth="8.9%p"
> >
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="13.0%p" latin:keyWidth="13.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="tabKeyStyle" /> latin:keyStyle="tabKeyStyle" />
<Key <Key

View File

@ -30,13 +30,11 @@
<case <case
latin:passwordInput="true" latin:passwordInput="true"
> >
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num1KeyStyle" latin:keyStyle="num1KeyStyle"
latin:keyXPos="32.076%p" /> latin:keyXPos="32.076%p" />
@ -47,13 +45,14 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="32.076%p" />
<Key <Key
latin:keyStyle="num4KeyStyle" latin:keyStyle="num4KeyStyle" />
latin:keyXPos="32.076%p" />
<Key <Key
latin:keyStyle="num5KeyStyle" /> latin:keyStyle="num5KeyStyle" />
<Key <Key
@ -61,41 +60,39 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="32.076%p" />
<Key <Key
latin:keyStyle="num7KeyStyle" latin:keyStyle="num7KeyStyle" />
latin:keyXPos="32.076%p" />
<Key <Key
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "9" key. To <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
ignore the touch event on the area, "9" is intentionally not marked as a right <Spacer
edge key. --> latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<Spacer <Spacer
latin:keyXPos="32.076%p" /> latin:keyXPos="32.076%p" />
<Key <Key
latin:keyStyle="num0KeyStyle" /> latin:keyStyle="num0KeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "#" key. To <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
ignore the touch event on the area, "#" is intentionally not marked as a right <Spacer
edge key. --> latin:keyWidth="0%p" />
</Row> </Row>
</case> </case>
<!-- latin:passwordInput="false" --> <!-- latin:passwordInput="false" -->
<default> <default>
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -122,13 +119,14 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="13.829%p" />
<Key <Key
latin:keyStyle="numStarKeyStyle" latin:keyStyle="numStarKeyStyle"
latin:keyXPos="13.829%p"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
<Key <Key
latin:keyLabel="/" latin:keyLabel="/"
@ -151,17 +149,15 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- There is an empty area below the "More" key and left of the "(" key. To <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
ignore the touch event on the area, "(" is intentionally not marked as a left <Spacer
edge key. --> latin:keyWidth="13.829%p" />
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="13.829%p"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
<Key <Key
latin:keyLabel=")" latin:keyLabel=")"
@ -181,11 +177,10 @@
<Key <Key
latin:keyLabel="9" latin:keyLabel="9"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "9" key. To <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
ignore the touch event on the area, "9" is intentionally not marked as a right <Spacer
edge key. --> latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<switch> <switch>
<case latin:hasSettingsKey="true"> <case latin:hasSettingsKey="true">
@ -193,6 +188,11 @@
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
</case> </case>
<default>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="8.047%p" />
</default>
</switch> </switch>
<Key <Key
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
@ -216,6 +216,11 @@
latin:keyXPos="-8.047%p" latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />
</case> </case>
<default>
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</default>
</switch> </switch>
</Row> </Row>
</default> </default>

View File

@ -26,13 +26,11 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_numkey_styles" /> latin:keyboardLayout="@xml/kbd_numkey_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -52,14 +50,12 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="," latin:keyLabel=","
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -79,16 +75,15 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
the touch event on the area, "(" is intentionally not marked as a left edge key. --> <Spacer
latin:keyWidth="20.400%p" />
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="20.400%p"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
<Key <Key
latin:keyLabel=")" latin:keyLabel=")"
@ -101,10 +96,10 @@
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "9" key. To ignore <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
the touch event on the area, "9" is intentionally not marked as a right edge key. --> <Spacer
latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<switch> <switch>
<case latin:hasSettingsKey="true"> <case latin:hasSettingsKey="true">
@ -112,6 +107,11 @@
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
</case> </case>
<default>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="8.047%p" />
</default>
</switch> </switch>
<Key <Key
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
@ -134,6 +134,11 @@
latin:keyXPos="-8.047%p" latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />
</case> </case>
<default>
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</default>
</switch> </switch>
</Row> </Row>
</Keyboard> </Keyboard>

View File

@ -26,13 +26,11 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_numkey_styles" /> latin:keyboardLayout="@xml/kbd_numkey_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row> <Row>
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -56,14 +54,12 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="," latin:keyLabel=","
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
@ -87,16 +83,15 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-11.172%p" latin:keyXPos="-11.172%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore <!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
the touch event on the area, "(" is intentionally not marked as a left edge key. --> <Spacer
latin:keyWidth="13.829%p" />
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle"
latin:keyXPos="13.829%p"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
<Key <Key
latin:keyLabel=")" latin:keyLabel=")"
@ -113,10 +108,10 @@
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<!-- There is an empty area below the "Enter" key and right of the "9" key. To ignore <!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
the touch event on the area, "9" is intentionally not marked as a right edge key. --> <Spacer
latin:keyWidth="0%p" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row> <Row>
<switch> <switch>
<case latin:hasSettingsKey="true"> <case latin:hasSettingsKey="true">
@ -124,6 +119,11 @@
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="8.047%p" /> latin:keyWidth="8.047%p" />
</case> </case>
<default>
<!-- Note: This Spacer prevents the below key from being marked as a left edge key. -->
<Spacer
latin:keyWidth="8.047%p" />
</default>
</switch> </switch>
<Key <Key
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle" latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
@ -146,6 +146,11 @@
latin:keyXPos="-8.047%p" latin:keyXPos="-8.047%p"
latin:keyWidth="fillRight" /> latin:keyWidth="fillRight" />
</case> </case>
<default>
<!-- Note: This Spacer prevents the above key from being marked as a right edge key. -->
<Spacer
latin:keyWidth="0%p" />
</default>
</switch> </switch>
</Row> </Row>
</Keyboard> </Keyboard>

View File

@ -21,15 +21,13 @@
<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"
> >
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="8.282%p" latin:keyWidth="8.282%p"
> >
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.969%p" latin:keyWidth="7.969%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" /> latin:popupCharacters="@string/alternates_for_q" />
@ -63,7 +61,6 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-9.219%p" latin:keyXPos="-9.219%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth"/>
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -27,8 +27,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p"/>
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" /> latin:popupCharacters="@string/alternates_for_a" />
@ -56,7 +55,6 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-15.704%p" latin:keyXPos="-15.704%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -26,8 +26,7 @@
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="13.829%p" latin:keyWidth="13.829%p"/>
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"
latin:popupCharacters="@string/alternates_for_z" /> latin:popupCharacters="@string/alternates_for_z" />
@ -51,7 +50,6 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -21,7 +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"
> >
<!-- This row is intentionally not marked as a bottom row -->
<Row <Row
latin:keyWidth="8.047%p" latin:keyWidth="8.047%p"
> >

View File

@ -29,8 +29,7 @@
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.500%p" latin:keyWidth="7.500%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ض" /> latin:keyLabel="ض" />
<Key <Key
@ -61,8 +60,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.500%p" latin:keyXPos="-11.500%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.375%p" latin:keyWidth="7.375%p"
@ -70,8 +68,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="9.375%p" latin:keyWidth="9.375%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ش" /> latin:keyLabel="ش" />
<Key <Key
@ -113,8 +110,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-9.375%p" latin:keyXPos="-9.375%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.375%p" latin:keyWidth="7.375%p"

View File

@ -29,8 +29,7 @@
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.969%p" latin:keyWidth="7.969%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" /> latin:popupCharacters="@string/alternates_for_a" />
@ -64,8 +63,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-9.219%p" latin:keyXPos="-9.219%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.125%p" latin:keyWidth="8.125%p"
@ -73,8 +71,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="10.167%p" latin:keyWidth="10.167%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" /> latin:popupCharacters="@string/alternates_for_q" />
@ -100,21 +97,18 @@
latin:keyLabel="l" latin:keyLabel="l"
latin:popupCharacters="@string/alternates_for_l" /> latin:popupCharacters="@string/alternates_for_l" />
<Key <Key
latin:keyLabel="m" latin:keyLabel="m" />
latin:keyEdgeFlags="right" />
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-15.704%p" latin:keyXPos="-15.704%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.047%p" latin:keyWidth="8.047%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="13.829%p" latin:keyWidth="13.829%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:popupCharacters="@string/alternates_for_w" /> latin:popupCharacters="@string/alternates_for_w" />
@ -161,8 +155,7 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -29,8 +29,7 @@
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.969%p" latin:keyWidth="7.969%p" />
latin:keyEdgeFlags="left" />
<include <include
latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" /> latin:keyboardLayout="@xml/kbd_row4_apostrophe_dash" />
<Key <Key
@ -52,8 +51,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-12.000%p" latin:keyXPos="-12.000%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.125%p" latin:keyWidth="8.125%p"
@ -61,8 +59,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ש" /> latin:keyLabel="ש" />
<Key <Key
@ -116,8 +113,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-10.400%p" latin:keyXPos="-10.400%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -29,8 +29,7 @@
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.969%p" latin:keyWidth="7.969%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" /> latin:popupCharacters="@string/alternates_for_q" />
@ -64,8 +63,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-9.219%p" latin:keyXPos="-9.219%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row2" /> latin:keyboardLayout="@xml/kbd_qwerty_row2" />
@ -74,8 +72,7 @@
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="13.829%p" latin:keyWidth="13.829%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="y" latin:keyLabel="y"
latin:popupCharacters="@string/alternates_for_y" /> latin:popupCharacters="@string/alternates_for_y" />
@ -119,8 +116,7 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -23,14 +23,12 @@
> >
<include <include
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="7.125%p" latin:keyWidth="7.125%p"
> >
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="й" /> latin:keyLabel="й" />
<Key <Key
@ -58,8 +56,7 @@
latin:keyLabel="ъ" /> latin:keyLabel="ъ" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.125%p" latin:keyWidth="7.125%p"
@ -67,8 +64,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="9.375%p" latin:keyWidth="9.375%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ф" /> latin:keyLabel="ф" />
<Key <Key
@ -94,16 +90,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-9.375%p" latin:keyXPos="-9.375%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.125%p" latin:keyWidth="7.125%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="12.750%p" latin:keyWidth="12.750%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="я" /> latin:keyLabel="я" />
<Key <Key
@ -126,8 +120,7 @@
latin:keyboardLayout="@xml/kbd_row3_comma_period" /> latin:keyboardLayout="@xml/kbd_row3_comma_period" />
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -29,8 +29,7 @@
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.500%p" latin:keyWidth="7.500%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" /> latin:popupCharacters="@string/alternates_for_q" />
@ -66,8 +65,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-11.500%p" latin:keyXPos="-11.500%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.375%p" latin:keyWidth="7.375%p"
@ -75,8 +73,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="9.375%p" latin:keyWidth="9.375%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" /> latin:popupCharacters="@string/alternates_for_a" />
@ -110,16 +107,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-9.375%p" latin:keyXPos="-9.375%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.375%p" latin:keyWidth="7.375%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="12.750%p" latin:keyWidth="12.750%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"
latin:popupCharacters="@string/alternates_for_z" /> latin:popupCharacters="@string/alternates_for_z" />
@ -143,8 +138,7 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyXPos="-12.750%p" latin:keyXPos="-12.750%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -23,14 +23,12 @@
> >
<include <include
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="7.125%p" latin:keyWidth="7.125%p"
> >
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="љ" /> latin:keyLabel="љ" />
<Key <Key
@ -57,8 +55,7 @@
latin:keyLabel="ђ" /> latin:keyLabel="ђ" />
<Key <Key
latin:keyLabel="ж" latin:keyLabel="ж"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right"/>
</Row> </Row>
<Row <Row
latin:keyWidth="7.250%p" latin:keyWidth="7.250%p"
@ -66,8 +63,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="а" /> latin:keyLabel="а" />
<Key <Key
@ -93,16 +89,14 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-9.219%p" latin:keyXPos="-9.219%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="7.250%p" latin:keyWidth="7.250%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="13.829%p" latin:keyWidth="13.829%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ѕ" /> latin:keyLabel="ѕ" />
<Key <Key
@ -122,8 +116,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -31,8 +31,7 @@
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="10.167%p" latin:keyWidth="10.167%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" /> latin:popupCharacters="@string/alternates_for_a" />
@ -62,8 +61,7 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-15.704%p" latin:keyXPos="-15.704%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row3" /> latin:keyboardLayout="@xml/kbd_qwerty_row3" />

View File

@ -25,15 +25,13 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_currency_key_styles" /> latin:keyboardLayout="@xml/kbd_currency_key_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="8.282%p" latin:keyWidth="8.282%p"
> >
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.969%p" latin:keyWidth="7.969%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="@string/keylabel_for_symbols_1" latin:keyLabel="@string/keylabel_for_symbols_1"
latin:popupCharacters="@string/alternates_for_symbols_1" /> latin:popupCharacters="@string/alternates_for_symbols_1" />
@ -67,8 +65,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-9.219%p" latin:keyXPos="-9.219%p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.125%p" latin:keyWidth="8.125%p"
@ -76,8 +73,7 @@
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="#" /> latin:keyLabel="#" />
<Key <Key
@ -105,16 +101,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-15.704%p" latin:keyXPos="-15.704%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.047%p" latin:keyWidth="8.047%p"
> >
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="13.829%p" latin:keyWidth="13.829%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="&lt;" latin:keyLabel="&lt;"
latin:popupCharacters="≤,«," /> latin:popupCharacters="≤,«," />
@ -154,10 +148,8 @@
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row <Row
latin:keyWidth="8.047%p" latin:keyWidth="8.047%p"
> >

View File

@ -23,15 +23,13 @@
> >
<include <include
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<!-- This row is intentionally not marked as a top row -->
<Row <Row
latin:keyWidth="8.282%p" latin:keyWidth="8.282%p"
> >
<Key <Key
latin:keyStyle="tabKeyStyle" latin:keyStyle="tabKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="7.969%p" latin:keyWidth="7.969%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="~" /> latin:keyLabel="~" />
<Key <Key
@ -65,8 +63,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-9.219%p" latin:keyXPos="-9.219%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.125%p" latin:keyWidth="8.125%p"
@ -74,8 +71,7 @@
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyLabelOption="alignLeft" latin:keyLabelOption="alignLeft"
latin:keyWidth="11.172%p" latin:keyWidth="11.172%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="nonPasswordSymbolKeyStyle" latin:keyStyle="nonPasswordSymbolKeyStyle"
latin:keyLabel="£" /> latin:keyLabel="£" />
@ -106,16 +102,14 @@
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyXPos="-15.704%p" latin:keyXPos="-15.704%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.047%p" latin:keyWidth="8.047%p"
> >
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyWidth="13.829%p" latin:keyWidth="13.829%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="\\" /> latin:keyLabel="\\" />
<Key <Key
@ -143,10 +137,8 @@
<Key <Key
latin:keyStyle="moreKeyStyle" latin:keyStyle="moreKeyStyle"
latin:keyXPos="-13.750%p" latin:keyXPos="-13.750%p"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row <Row
latin:keyWidth="8.047%p" latin:keyWidth="8.047%p"
> >

View File

@ -30,12 +30,9 @@
<case <case
latin:passwordInput="true" latin:passwordInput="true"
> >
<Row <Row>
latin:rowEdgeFlags="top"
>
<Key <Key
latin:keyStyle="num1KeyStyle" latin:keyStyle="num1KeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num2KeyStyle" /> latin:keyStyle="num2KeyStyle" />
<Key <Key
@ -43,8 +40,7 @@
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="num4KeyStyle" latin:keyStyle="num4KeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num5KeyStyle" /> latin:keyStyle="num5KeyStyle" />
<Key <Key
@ -52,39 +48,31 @@
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="num7KeyStyle" latin:keyStyle="num7KeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row>
latin:rowEdgeFlags="bottom"
>
<Spacer /> <Spacer />
<Key <Key
latin:keyStyle="num0KeyStyle" /> latin:keyStyle="num0KeyStyle" />
<Spacer /> <Spacer />
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</case> </case>
<!-- latin:passwordInput="false" --> <!-- latin:passwordInput="false" -->
<default> <default>
<Row <Row>
latin:rowEdgeFlags="top"
>
<Key <Key
latin:keyLabel="1" latin:keyLabel="1"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="2" latin:keyLabel="2"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
@ -94,14 +82,12 @@
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numFunctionalKeyStyle" latin:keyStyle="numFunctionalKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyLabel="4" latin:keyLabel="4"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="5" latin:keyLabel="5"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
@ -111,14 +97,12 @@
<Key <Key
latin:keyLabel="," latin:keyLabel=","
latin:keyStyle="numFunctionalKeyStyle" latin:keyStyle="numFunctionalKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyLabel="7" latin:keyLabel="7"
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="8" latin:keyLabel="8"
latin:keyStyle="numKeyStyle"/> latin:keyStyle="numKeyStyle"/>
@ -127,15 +111,11 @@
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row>
latin:rowEdgeFlags="bottom"
>
<Key <Key
latin:keyStyle="numSpaceKeyStyle" latin:keyStyle="numSpaceKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="0" latin:keyLabel="0"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
@ -144,8 +124,7 @@
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</default> </default>
</switch> </switch>

View File

@ -26,12 +26,9 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_numkey_styles" /> latin:keyboardLayout="@xml/kbd_numkey_styles" />
<Row <Row>
latin:rowEdgeFlags="top"
>
<Key <Key
latin:keyStyle="num1KeyStyle" latin:keyStyle="num1KeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num2KeyStyle" /> latin:keyStyle="num2KeyStyle" />
<Key <Key
@ -39,13 +36,11 @@
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numFunctionalKeyStyle" latin:keyStyle="numFunctionalKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="num4KeyStyle" latin:keyStyle="num4KeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num5KeyStyle" /> latin:keyStyle="num5KeyStyle" />
<Key <Key
@ -53,35 +48,28 @@
<Key <Key
latin:keyLabel="." latin:keyLabel="."
latin:keyStyle="numFunctionalKeyStyle" latin:keyStyle="numFunctionalKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="num7KeyStyle" latin:keyStyle="num7KeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num8KeyStyle" /> latin:keyStyle="num8KeyStyle" />
<Key <Key
latin:keyStyle="num9KeyStyle" /> latin:keyStyle="num9KeyStyle" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row>
latin:rowEdgeFlags="bottom"
>
<Key <Key
latin:keyStyle="numSwitchToAltKeyStyle" latin:keyStyle="numSwitchToAltKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="num0KeyStyle" /> latin:keyStyle="num0KeyStyle" />
<Key <Key
latin:keyStyle="numSpaceKeyStyle" /> latin:keyStyle="numSpaceKeyStyle" />
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</Keyboard> </Keyboard>

View File

@ -26,13 +26,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_numkey_styles" /> latin:keyboardLayout="@xml/kbd_numkey_styles" />
<Row <Row>
latin:rowEdgeFlags="top"
>
<Key <Key
latin:keyLabel="(" latin:keyLabel="("
latin:keyStyle="numKeyStyle" latin:keyStyle="numKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="/" latin:keyLabel="/"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
@ -42,13 +39,11 @@
<Key <Key
latin:keyLabel="-" latin:keyLabel="-"
latin:keyStyle="numFunctionalKeyStyle" latin:keyStyle="numFunctionalKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyLabel="N" latin:keyLabel="N" />
latin:keyEdgeFlags="left" />
<!-- Pause is a comma. Check PhoneNumberUtils.java to see if this <!-- Pause is a comma. Check PhoneNumberUtils.java to see if this
has changed. --> has changed. -->
<Key <Key
@ -61,13 +56,11 @@
<Key <Key
latin:keyLabel="." latin:keyLabel="."
latin:keyStyle="numFunctionalKeyStyle" latin:keyStyle="numFunctionalKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="numStarKeyStyle" latin:keyStyle="numStarKeyStyle" />
latin:keyEdgeFlags="left" />
<!-- Wait is a semicolon. --> <!-- Wait is a semicolon. -->
<Key <Key
latin:code="59" latin:code="59"
@ -78,15 +71,11 @@
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row>
latin:rowEdgeFlags="bottom"
>
<Key <Key
latin:keyStyle="numSwitchToNumericKeyStyle" latin:keyStyle="numSwitchToNumericKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="+" latin:keyLabel="+"
latin:keyStyle="numKeyStyle" /> latin:keyStyle="numKeyStyle" />
@ -94,7 +83,6 @@
latin:keyStyle="numSpaceKeyStyle" /> latin:keyStyle="numSpaceKeyStyle" />
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</Keyboard> </Keyboard>

View File

@ -23,13 +23,11 @@
> >
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -66,7 +64,6 @@
latin:keyLabel="p" latin:keyLabel="p"
latin:keyHintLabel="0" latin:keyHintLabel="0"
latin:popupCharacters="@string/alternates_for_p" latin:popupCharacters="@string/alternates_for_p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -27,8 +27,7 @@
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a"
latin:keyXPos="5%p" latin:keyXPos="5%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -49,8 +48,7 @@
latin:popupCharacters="@string/alternates_for_k" /> latin:popupCharacters="@string/alternates_for_k" />
<Key <Key
latin:keyLabel="l" latin:keyLabel="l"
latin:popupCharacters="@string/alternates_for_l" latin:popupCharacters="@string/alternates_for_l" />
latin:keyEdgeFlags="right" />
<!-- Here is 5%p space --> <!-- Here is 5%p space -->
</Row> </Row>
</merge> </merge>

View File

@ -27,8 +27,7 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p"
latin:visualInsetsRight="1%p" latin:visualInsetsRight="1%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"
latin:popupCharacters="@string/alternates_for_z" /> latin:popupCharacters="@string/alternates_for_z" />
@ -50,7 +49,6 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillBoth" latin:keyWidth="fillBoth"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
</merge> </merge>

View File

@ -23,7 +23,6 @@
> >
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="bottom"
> >
<switch> <switch>
<case <case
@ -31,8 +30,7 @@
> >
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyWidth="13.75%p" latin:keyWidth="13.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="9.2%p" /> latin:keyWidth="9.2%p" />
@ -49,8 +47,7 @@
<default> <default>
<Key <Key
latin:keyStyle="toSymbolKeyStyle" latin:keyStyle="toSymbolKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p" />
latin:keyEdgeFlags="left" />
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_f1" /> latin:keyboardLayout="@xml/kbd_qwerty_f1" />
<Key <Key
@ -66,14 +63,12 @@
> >
<Key <Key
latin:keyStyle="smileyKeyStyle" latin:keyStyle="smileyKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</default> </default>
</switch> </switch>
</Row> </Row>

View File

@ -29,8 +29,7 @@
<Key <Key
latin:keyLabel="ض" latin:keyLabel="ض"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="1,١" latin:popupCharacters="1,١" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ص" latin:keyLabel="ص"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -71,15 +70,13 @@
latin:keyLabel="ج" latin:keyLabel="ج"
latin:keyHintLabel="0" latin:keyHintLabel="0"
latin:popupCharacters="0,٠,\u0686" latin:popupCharacters="0,٠,\u0686"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
> >
<Key <Key
latin:keyLabel="ش" latin:keyLabel="ش" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="س" /> latin:keyLabel="س" />
<!-- \u0626: ARABIC LETTER YEH WITH HAMZA ABOVE <!-- \u0626: ARABIC LETTER YEH WITH HAMZA ABOVE
@ -119,16 +116,14 @@
<Key <Key
latin:keyLabel="ك" latin:keyLabel="ك"
latin:popupCharacters="گ" latin:popupCharacters="گ"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
> >
<Key <Key
latin:keyLabel="ظ" latin:keyLabel="ظ"
latin:keyXPos="5.0%p" latin:keyXPos="5.0%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ط" /> latin:keyLabel="ط" />
<Key <Key
@ -148,8 +143,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -25,13 +25,11 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="z" latin:keyLabel="z"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -68,16 +66,14 @@
latin:keyLabel="p" latin:keyLabel="p"
latin:keyHintLabel="0" latin:keyHintLabel="0"
latin:popupCharacters="@string/alternates_for_p" latin:popupCharacters="@string/alternates_for_p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -101,8 +97,7 @@
latin:popupCharacters="@string/alternates_for_l" /> latin:popupCharacters="@string/alternates_for_l" />
<Key <Key
latin:keyLabel="m" latin:keyLabel="m"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
@ -110,8 +105,7 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p"
latin:visualInsetsRight="1%p" latin:visualInsetsRight="1%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:popupCharacters="@string/alternates_for_w" /> latin:popupCharacters="@string/alternates_for_w" />
@ -135,8 +129,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -25,12 +25,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="ק" latin:keyLabel="ק"
latin:keyXPos="5%p" latin:keyXPos="5%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ר" /> latin:keyLabel="ר" />
<Key <Key
@ -48,15 +46,13 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
> >
<Key <Key
latin:keyLabel="ש" latin:keyLabel="ש" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ד" /> latin:keyLabel="ד" />
<Key <Key
@ -78,8 +74,7 @@
latin:keyLabel="ך" /> latin:keyLabel="ך" />
<Key <Key
latin:keyLabel="ף" latin:keyLabel="ף"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
@ -87,8 +82,7 @@
<Key <Key
latin:keyLabel="ז" latin:keyLabel="ז"
latin:popupCharacters="ז׳" latin:popupCharacters="ז׳"
latin:keyXPos="5%p" latin:keyXPos="5%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ס" /> latin:keyLabel="ס" />
<Key <Key
@ -107,8 +101,7 @@
latin:popupCharacters="ת׳" /> latin:popupCharacters="ת׳" />
<Key <Key
latin:keyLabel="ץ" latin:keyLabel="ץ"
latin:popupCharacters="ץ׳" latin:popupCharacters="ץ׳" />
latin:keyEdgeFlags="right" />
<!-- Here is 5%p space --> <!-- Here is 5%p space -->
</Row> </Row>
<include <include

View File

@ -25,13 +25,11 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -68,8 +66,7 @@
latin:keyLabel="p" latin:keyLabel="p"
latin:keyHintLabel="0" latin:keyHintLabel="0"
latin:popupCharacters="@string/alternates_for_p" latin:popupCharacters="@string/alternates_for_p"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row2" /> latin:keyboardLayout="@xml/kbd_qwerty_row2" />
@ -79,8 +76,7 @@
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p"
latin:visualInsetsRight="1%p" latin:visualInsetsRight="1%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="y" latin:keyLabel="y"
latin:popupCharacters="@string/alternates_for_y" /> latin:popupCharacters="@string/alternates_for_y" />
@ -102,8 +98,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -25,14 +25,12 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="9.091%p" latin:keyWidth="9.091%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="й" latin:keyLabel="й"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="1" latin:popupCharacters="1"
latin:keyWidth="8.75%p" latin:keyWidth="8.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ц" latin:keyLabel="ц"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -71,16 +69,14 @@
latin:popupCharacters="0" /> latin:popupCharacters="0" />
<Key <Key
latin:keyLabel="х" latin:keyLabel="х"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="9.091%p" latin:keyWidth="9.091%p"
> >
<Key <Key
latin:keyLabel="ф" latin:keyLabel="ф"
latin:keyWidth="8.75%p" latin:keyWidth="8.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ы" /> latin:keyLabel="ы" />
<Key <Key
@ -101,16 +97,14 @@
latin:keyLabel="ж" /> latin:keyLabel="ж" />
<Key <Key
latin:keyLabel="э" latin:keyLabel="э"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.5%p" latin:keyWidth="8.5%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="11.75%p" latin:keyWidth="11.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="я" /> latin:keyLabel="я" />
<Key <Key
@ -132,8 +126,7 @@
latin:keyLabel="ю" /> latin:keyLabel="ю" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -25,14 +25,12 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="9.09%p" latin:keyWidth="9.09%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="q" latin:keyLabel="q"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="@string/alternates_for_q" latin:popupCharacters="@string/alternates_for_q"
latin:keyWidth="8.75%p" latin:keyWidth="8.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="w" latin:keyLabel="w"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -71,8 +69,7 @@
latin:popupCharacters="@string/alternates_for_p" /> latin:popupCharacters="@string/alternates_for_p" />
<Key <Key
latin:keyLabel="å" latin:keyLabel="å"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="9.09%p" latin:keyWidth="9.09%p"
@ -80,8 +77,7 @@
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a"
latin:keyWidth="8.75%p" latin:keyWidth="8.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -109,8 +105,7 @@
<Key <Key
latin:keyLabel="@string/keylabel_for_scandinavia_row2_11" latin:keyLabel="@string/keylabel_for_scandinavia_row2_11"
latin:popupCharacters="@string/alternates_for_scandinavia_row2_11" latin:popupCharacters="@string/alternates_for_scandinavia_row2_11"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row3" /> latin:keyboardLayout="@xml/kbd_qwerty_row3" />

View File

@ -25,13 +25,11 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row
latin:keyWidth="9.09%p" latin:keyWidth="9.09%p"
latin:rowEdgeFlags="top"
> >
<Key <Key
latin:keyLabel="љ" latin:keyLabel="љ"
latin:keyHintLabel="1" latin:keyHintLabel="1"
latin:popupCharacters="1" latin:popupCharacters="1" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="њ" latin:keyLabel="њ"
latin:keyHintLabel="2" latin:keyHintLabel="2"
@ -70,15 +68,13 @@
latin:popupCharacters="0" /> latin:popupCharacters="0" />
<Key <Key
latin:keyLabel="ш" latin:keyLabel="ш"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="9.09%p" latin:keyWidth="9.09%p"
> >
<Key <Key
latin:keyLabel="а" latin:keyLabel="а" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="с" /> latin:keyLabel="с" />
<Key <Key
@ -99,15 +95,13 @@
latin:keyLabel="ч" /> latin:keyLabel="ч" />
<Key <Key
latin:keyLabel="ћ" latin:keyLabel="ћ"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row <Row
latin:keyWidth="8.90%p" latin:keyWidth="8.90%p"
> >
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="ѕ" /> latin:keyLabel="ѕ" />
<Key <Key
@ -128,8 +122,7 @@
latin:keyLabel="ж" /> latin:keyLabel="ж" />
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row4" /> latin:keyboardLayout="@xml/kbd_qwerty_row4" />

View File

@ -30,8 +30,7 @@
> >
<Key <Key
latin:keyLabel="a" latin:keyLabel="a"
latin:popupCharacters="@string/alternates_for_a" latin:popupCharacters="@string/alternates_for_a" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="s" latin:keyLabel="s"
latin:popupCharacters="@string/alternates_for_s" /> latin:popupCharacters="@string/alternates_for_s" />
@ -54,8 +53,7 @@
latin:keyLabel="l" latin:keyLabel="l"
latin:popupCharacters="@string/alternates_for_l" /> latin:popupCharacters="@string/alternates_for_l" />
<Key <Key
latin:keyLabel="ñ" latin:keyLabel="ñ" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_qwerty_row3" /> latin:keyboardLayout="@xml/kbd_qwerty_row3" />

View File

@ -26,13 +26,10 @@
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<include <include
latin:keyboardLayout="@xml/kbd_currency_key_styles" /> latin:keyboardLayout="@xml/kbd_currency_key_styles" />
<Row <Row>
latin:rowEdgeFlags="top"
>
<Key <Key
latin:keyLabel="@string/keylabel_for_symbols_1" latin:keyLabel="@string/keylabel_for_symbols_1"
latin:popupCharacters="@string/alternates_for_symbols_1" latin:popupCharacters="@string/alternates_for_symbols_1" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="@string/keylabel_for_symbols_2" latin:keyLabel="@string/keylabel_for_symbols_2"
latin:popupCharacters="@string/alternates_for_symbols_2" /> latin:popupCharacters="@string/alternates_for_symbols_2" />
@ -60,13 +57,11 @@
<Key <Key
latin:keyLabel="@string/keylabel_for_symbols_0" latin:keyLabel="@string/keylabel_for_symbols_0"
latin:popupCharacters="@string/alternates_for_symbols_0" latin:popupCharacters="@string/alternates_for_symbols_0"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyLabel="\@" latin:keyLabel="\@" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="\#" /> latin:keyLabel="\#" />
<Key <Key
@ -91,15 +86,13 @@
<Key <Key
latin:keyLabel=")" latin:keyLabel=")"
latin:popupCharacters="],},&gt;" latin:popupCharacters="],},&gt;"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="altKeyStyle" latin:keyStyle="altKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p"
latin:visualInsetsRight="1%p" latin:visualInsetsRight="1%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="!" latin:keyLabel="!"
latin:popupCharacters="¡" /> latin:popupCharacters="¡" />
@ -125,8 +118,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include <include
latin:keyboardLayout="@xml/kbd_symbols_row4" /> latin:keyboardLayout="@xml/kbd_symbols_row4" />

View File

@ -23,7 +23,6 @@
> >
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="bottom"
> >
<switch> <switch>
<case <case
@ -31,8 +30,7 @@
> >
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyWidth="13.75%p" latin:keyWidth="13.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="9.2%p" /> latin:keyWidth="9.2%p" />
@ -49,8 +47,7 @@
<default> <default>
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p" />
latin:keyEdgeFlags="left" />
<include <include
latin:keyboardLayout="@xml/kbd_symbols_f1" /> latin:keyboardLayout="@xml/kbd_symbols_f1" />
<Key <Key
@ -66,14 +63,12 @@
> >
<Key <Key
latin:keyStyle="smileyKeyStyle" latin:keyStyle="smileyKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</default> </default>
</switch> </switch>
</Row> </Row>

View File

@ -24,12 +24,9 @@
> >
<include <include
latin:keyboardLayout="@xml/kbd_key_styles" /> latin:keyboardLayout="@xml/kbd_key_styles" />
<Row <Row>
latin:rowEdgeFlags="top"
>
<Key <Key
latin:keyLabel="~" latin:keyLabel="~" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="`" /> latin:keyLabel="`" />
<Key <Key
@ -55,13 +52,11 @@
latin:keyLabel="{" /> latin:keyLabel="{" />
<Key <Key
latin:keyLabel="}" latin:keyLabel="}"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="nonSpecialBackgroundTabKeyStyle" latin:keyStyle="nonSpecialBackgroundTabKeyStyle" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="nonPasswordSymbolKeyStyle" latin:keyStyle="nonPasswordSymbolKeyStyle"
latin:keyLabel="£" /> latin:keyLabel="£" />
@ -87,15 +82,13 @@
latin:keyLabel="[" /> latin:keyLabel="[" />
<Key <Key
latin:keyLabel="]" latin:keyLabel="]"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<Row> <Row>
<Key <Key
latin:keyStyle="shiftKeyStyle" latin:keyStyle="shiftKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p"
latin:visualInsetsRight="1%p" latin:visualInsetsRight="1%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="nonPasswordSymbolKeyStyle" latin:keyStyle="nonPasswordSymbolKeyStyle"
latin:keyLabel="™" /> latin:keyLabel="™" />
@ -120,8 +113,7 @@
<Key <Key
latin:keyStyle="deleteKeyStyle" latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" latin:visualInsetsLeft="1%p" />
latin:keyEdgeFlags="right" />
</Row> </Row>
<include latin:keyboardLayout="@xml/kbd_symbols_shift_row4" /> <include latin:keyboardLayout="@xml/kbd_symbols_shift_row4" />
</Keyboard> </Keyboard>

View File

@ -23,7 +23,6 @@
> >
<Row <Row
latin:keyWidth="10%p" latin:keyWidth="10%p"
latin:rowEdgeFlags="bottom"
> >
<switch> <switch>
<case <case
@ -31,8 +30,7 @@
> >
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyWidth="13.75%p" latin:keyWidth="13.75%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyStyle="settingsKeyStyle" latin:keyStyle="settingsKeyStyle"
latin:keyWidth="9.2%p" /> latin:keyWidth="9.2%p" />
@ -53,8 +51,7 @@
<default> <default>
<Key <Key
latin:keyStyle="toAlphaKeyStyle" latin:keyStyle="toAlphaKeyStyle"
latin:keyWidth="15%p" latin:keyWidth="15%p" />
latin:keyEdgeFlags="left" />
<Key <Key
latin:keyLabel="„" latin:keyLabel="„"
latin:popupCharacters="“,”,„,‟,«,»,,,," latin:popupCharacters="“,”,„,‟,«,»,,,,"
@ -73,14 +70,12 @@
> >
<Key <Key
latin:keyStyle="smileyKeyStyle" latin:keyStyle="smileyKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</case> </case>
<default> <default>
<Key <Key
latin:keyStyle="returnKeyStyle" latin:keyStyle="returnKeyStyle"
latin:keyWidth="fillRight" latin:keyWidth="fillRight" />
latin:keyEdgeFlags="right" />
</default> </default>
</switch> </switch>
</Row> </Row>

View File

@ -95,7 +95,7 @@ public class Key {
* {@link Keyboard#EDGE_LEFT}, {@link Keyboard#EDGE_RIGHT}, * {@link Keyboard#EDGE_LEFT}, {@link Keyboard#EDGE_RIGHT},
* {@link Keyboard#EDGE_TOP} and {@link Keyboard#EDGE_BOTTOM}. * {@link Keyboard#EDGE_TOP} and {@link Keyboard#EDGE_BOTTOM}.
*/ */
public final int mEdgeFlags; private int mEdgeFlags;
/** Whether this is a functional key which has different key top than normal key */ /** Whether this is a functional key which has different key top than normal key */
public final boolean mFunctional; public final boolean mFunctional;
/** Whether this key repeats itself when held down */ /** Whether this key repeats itself when held down */
@ -273,8 +273,7 @@ public class Key {
mFunctional = style.getBoolean(keyAttr, R.styleable.Keyboard_Key_isFunctional, false); mFunctional = style.getBoolean(keyAttr, R.styleable.Keyboard_Key_isFunctional, false);
mSticky = style.getBoolean(keyAttr, R.styleable.Keyboard_Key_isSticky, false); mSticky = style.getBoolean(keyAttr, R.styleable.Keyboard_Key_isSticky, false);
mEnabled = style.getBoolean(keyAttr, R.styleable.Keyboard_Key_enabled, true); mEnabled = style.getBoolean(keyAttr, R.styleable.Keyboard_Key_enabled, true);
mEdgeFlags = style.getFlag(keyAttr, R.styleable.Keyboard_Key_keyEdgeFlags, 0) mEdgeFlags = 0;
| row.mRowEdgeFlags;
final KeyboardIconsSet iconsSet = mKeyboard.mIconsSet; final KeyboardIconsSet iconsSet = mKeyboard.mIconsSet;
mVisualInsetsLeft = KeyboardParser.getDimensionOrFraction(keyAttr, mVisualInsetsLeft = KeyboardParser.getDimensionOrFraction(keyAttr,
@ -316,6 +315,10 @@ public class Key {
} }
} }
public void addEdgeFlags(int flags) {
mEdgeFlags |= flags;
}
public CharSequence getCaseAdjustedLabel() { public CharSequence getCaseAdjustedLabel() {
return mKeyboard.adjustLabelCase(mLabel); return mKeyboard.adjustLabelCase(mLabel);
} }
@ -441,15 +444,18 @@ public class Key {
* assume that all points between the key and the edge are considered to be on the key. * assume that all points between the key and the edge are considered to be on the key.
*/ */
public boolean isOnKey(int x, int y) { public boolean isOnKey(int x, int y) {
final int flags = mEdgeFlags;
final boolean leftEdge = (flags & Keyboard.EDGE_LEFT) != 0;
final boolean rightEdge = (flags & Keyboard.EDGE_RIGHT) != 0;
final boolean topEdge = (flags & Keyboard.EDGE_TOP) != 0;
final boolean bottomEdge = (flags & Keyboard.EDGE_BOTTOM) != 0;
final int left = mX - mGap / 2; final int left = mX - mGap / 2;
final int right = left + mWidth + mGap; final int right = left + mWidth + mGap;
final int top = mY; final int top = mY;
final int bottom = top + mHeight + mKeyboard.getVerticalGap(); final int bottom = top + mHeight + mKeyboard.getVerticalGap();
final int flags = mEdgeFlags;
if (flags == 0) {
return x >= left && x <= right && y >= top && y <= bottom;
}
final boolean leftEdge = (flags & Keyboard.EDGE_LEFT) != 0;
final boolean rightEdge = (flags & Keyboard.EDGE_RIGHT) != 0;
final boolean topEdge = (flags & Keyboard.EDGE_TOP) != 0;
final boolean bottomEdge = (flags & Keyboard.EDGE_BOTTOM) != 0;
// In order to mitigate rounding errors, we use (left <= x <= right) here. // In order to mitigate rounding errors, we use (left <= x <= right) here.
return (x >= left || leftEdge) && (x <= right || rightEdge) return (x >= left || leftEdge) && (x <= right || rightEdge)
&& (y >= top || topEdge) && (y <= bottom || bottomEdge); && (y >= top || topEdge) && (y <= bottom || bottomEdge);

View File

@ -135,6 +135,8 @@ public class KeyboardParser {
private int mMaxRowWidth = 0; private int mMaxRowWidth = 0;
private int mTotalHeight = 0; private int mTotalHeight = 0;
private Row mCurrentRow = null; private Row mCurrentRow = null;
private boolean mLeftEdge;
private Key mRightEdgeKey = null;
private final KeyStyles mKeyStyles = new KeyStyles(); private final KeyStyles mKeyStyles = new KeyStyles();
public KeyboardParser(Keyboard keyboard, Context context) { public KeyboardParser(Keyboard keyboard, Context context) {
@ -623,6 +625,8 @@ public class KeyboardParser {
mCurrentX = 0; mCurrentX = 0;
setSpacer(mCurrentX, mHorizontalEdgesPadding); setSpacer(mCurrentX, mHorizontalEdgesPadding);
mCurrentRow = row; mCurrentRow = row;
mLeftEdge = true;
mRightEdgeKey = null;
} }
private void endRow() { private void endRow() {
@ -633,10 +637,19 @@ public class KeyboardParser {
mMaxRowWidth = mCurrentX; mMaxRowWidth = mCurrentX;
mCurrentY += mCurrentRow.mDefaultHeight; mCurrentY += mCurrentRow.mDefaultHeight;
mCurrentRow = null; mCurrentRow = null;
if (mRightEdgeKey != null) {
mRightEdgeKey.addEdgeFlags(Keyboard.EDGE_RIGHT);
mRightEdgeKey = null;
}
} }
private void endKey(Key key) { private void endKey(Key key) {
mCurrentX = key.mX - key.mGap / 2 + key.mWidth + key.mGap; mCurrentX = key.mX - key.mGap / 2 + key.mWidth + key.mGap;
if (mLeftEdge) {
key.addEdgeFlags(Keyboard.EDGE_LEFT);
mLeftEdge = false;
}
mRightEdgeKey = key;
} }
private void endKeyboard(int defaultVerticalGap) { private void endKeyboard(int defaultVerticalGap) {
@ -646,6 +659,8 @@ public class KeyboardParser {
private void setSpacer(int keyXPos, int width) { private void setSpacer(int keyXPos, int width) {
mCurrentX = keyXPos + width; mCurrentX = keyXPos + width;
mLeftEdge = false;
mRightEdgeKey = null;
} }
public static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { public static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) {

View File

@ -38,11 +38,6 @@ public class Row {
public final int mDefaultHorizontalGap; public final int mDefaultHorizontalGap;
/** Vertical gap following this row. */ /** Vertical gap following this row. */
public final int mVerticalGap; public final int mVerticalGap;
/**
* Edge flags for this row of keys. Possible values that can be assigned are
* {@link Keyboard#EDGE_TOP EDGE_TOP} and {@link Keyboard#EDGE_BOTTOM EDGE_BOTTOM}
*/
public final int mRowEdgeFlags;
private final Keyboard mKeyboard; private final Keyboard mKeyboard;
@ -61,10 +56,6 @@ public class Row {
mVerticalGap = KeyboardParser.getDimensionOrFraction(a, mVerticalGap = KeyboardParser.getDimensionOrFraction(a,
R.styleable.Keyboard_verticalGap, keyboardHeight, keyboard.getVerticalGap()); R.styleable.Keyboard_verticalGap, keyboardHeight, keyboard.getVerticalGap());
a.recycle(); a.recycle();
a = res.obtainAttributes(Xml.asAttributeSet(parser),
R.styleable.Keyboard_Row);
mRowEdgeFlags = a.getInt(R.styleable.Keyboard_Row_rowEdgeFlags, 0);
a.recycle();
} }
public Keyboard getKeyboard() { public Keyboard getKeyboard() {