Merge "Make Russian layout for 7 inch table compatible with other locale"

main
Tadashi G. Takaoka 2011-07-13 22:55:26 -07:00 committed by Android (Google) Code Review
commit f7f2e82e8b
3 changed files with 82 additions and 159 deletions

View File

@ -59,99 +59,46 @@
latin:keyWidth="39.750%p" />
<switch>
<case
latin:languageCode="ru"
latin:mode="email"
>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="-"
latin:keyWidth="9.750%p" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":"
latin:keyWidth="9.750%p" />
</case>
<default>
<Key
latin:keyLabel="\?"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_"
latin:keyWidth="9.750%p" />
</default>
</switch>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="_"
latin:keyWidth="9.750%p" />
</case>
<default>
<Key
latin:keyLabel="!"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="\'"
latin:popupCharacters="\'"
latin:keyWidth="9.750%p" />
</default>
</switch>
<Key
latin:keyLabel="-"
latin:keyWidth="9.750%p" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":"
latin:keyWidth="9.750%p" />
</case>
<!-- not languageCode="ru" -->
<default>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="-"
latin:keyWidth="9.750%p" />
</case>
<case
latin:mode="url"
>
<Key
latin:keyLabel="/"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=":"
latin:popupCharacters=":"
latin:keyWidth="9.750%p" />
</case>
<default>
<Key
latin:keyLabel="\'"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="&quot;"
latin:popupCharacters="&quot;"
latin:keyWidth="9.750%p" />
</default>
</switch>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="_"
latin:keyWidth="9.750%p" />
</case>
<default>
<Key
latin:keyLabel="-"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_"
latin:keyWidth="9.750%p" />
</default>
</switch>
<Key
latin:keyLabel="\'"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="&quot;"
latin:popupCharacters="&quot;"
latin:keyWidth="9.750%p" />
</default>
</switch>
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="_"
latin:keyWidth="9.750%p" />
</case>
<default>
<Key
latin:keyLabel="-"
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="_"
latin:popupCharacters="_"
latin:keyWidth="9.750%p" />
</default>
</switch>
<Spacer

View File

@ -24,12 +24,11 @@
<include
latin:keyboardLayout="@xml/kbd_key_styles" />
<Row
latin:keyWidth="8.0%p"
latin:keyWidth="7.60%p"
latin:rowEdgeFlags="top"
>
<Key
latin:keyLabel="й"
latin:keyXPos="2.15%p"
latin:keyEdgeFlags="left" />
<Key
latin:keyLabel="ц" />
@ -52,6 +51,8 @@
latin:keyLabel="з" />
<Key
latin:keyLabel="х" />
<Key
latin:keyLabel="ъ" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p"
@ -59,11 +60,11 @@
latin:keyEdgeFlags="right" />
</Row>
<Row
latin:keyWidth="8.0%p"
latin:keyWidth="7.60%p"
>
<Key
latin:keyLabel="ф"
latin:keyEdgeFlags="left" />
latin:keyXPos="2.25%p" />
<Key
latin:keyLabel="ы" />
<Key
@ -91,11 +92,10 @@
latin:keyEdgeFlags="right" />
</Row>
<Row
latin:keyWidth="8.0%p"
latin:keyWidth="7.60%p"
>
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p"
latin:keyEdgeFlags="left" />
<Key
latin:keyLabel="я" />
@ -116,11 +116,28 @@
latin:keyLabel="б" />
<Key
latin:keyLabel="ю" />
<Key
latin:keyLabel="."
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel=","
latin:popupCharacters="," />
<switch>
<case
latin:mode="email"
>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
</case>
<default>
<Key
latin:keyLabel=","
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="!"
latin:popupCharacters="!" />
<Key
latin:keyLabel="."
latin:keyLabelOption="hasUppercaseLetter"
latin:keyHintLabel="\?"
latin:popupCharacters="\?" />
</default>
</switch>
<include
latin:keyboardLayout="@xml/kbd_row3_right" />
</Row>

View File

@ -113,12 +113,6 @@
latin:keyLabel="="
latin:popupCharacters="≠,≈" />
<switch>
<case
latin:languageCode="ru"
>
<Key
latin:keyLabel=":" />
</case>
<case
latin:mode="url"
>
@ -133,37 +127,16 @@
</switch>
<Key
latin:keyLabel=";" />
<switch>
<case
latin:languageCode="ru"
>
<Key
latin:keyLabel="\'"
latin:popupCharacters=",,," />
<!-- Note: DroidSans doesn't have double-high-reversed-quotation
'\u201f' glyph. -->
<!-- latin:popupCharacters="“,”,„,‟,«,»" -->
<Key
latin:keyLabel="&quot;"
latin:popupCharacters="“,”,«,»" />
<Key
latin:keyLabel="." />
<Key
latin:keyLabel="," />
</case>
<default>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
<Key
latin:keyLabel="!"
latin:popupCharacters="¡" />
<Key
latin:keyLabel="\?"
latin:popupCharacters="¿" />
</default>
</switch>
<Key
latin:keyLabel="," />
<Key
latin:keyLabel="." />
<Key
latin:keyLabel="!"
latin:popupCharacters="¡" />
<Key
latin:keyLabel="\?"
latin:popupCharacters="¿" />
<Key
latin:keyLabel="/"
latin:keyWidth="fillRight" />
@ -185,30 +158,16 @@
latin:keyStyle="spaceKeyStyle"
latin:keyXPos="30.750%p"
latin:keyWidth="39.750%p" />
<switch>
<case
latin:languageCode="ru"
>
<Key
latin:keyLabel="_"
latin:keyWidth="9.750%p" />
<Key
latin:keyLabel="-"
latin:keyWidth="9.750%p" />
</case>
<default>
<!-- Note: DroidSans doesn't have double-high-reversed-quotation
'\u201f' glyph. -->
<!-- latin:popupCharacters="“,”,„,‟,«,»,,,," -->
<Key
latin:keyLabel="&quot;"
latin:popupCharacters="“,”,«,»,,,,"
latin:keyWidth="9.750%p" />
<Key
latin:keyLabel="_"
latin:keyWidth="9.750%p" />
</default>
</switch>
<Key
latin:keyLabel="&quot;"
latin:popupCharacters="“,”,«,»,,,,"
latin:keyWidth="9.750%p" />
<Key
latin:keyLabel="_"
latin:keyWidth="9.750%p" />
<Spacer
latin:keyXPos="-10.00%p"
latin:keyWidth="0%p" />