aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-03-09 16:23:06 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-03-09 16:24:48 +0900
commite955323ae03c552491ba3d203db0ef242980533f (patch)
tree6c60a6f02831b14fb47d3819e89e591cb83c589f
parent9a6ccf9bb0441e20167df914bb9f1ee80bee7876 (diff)
downloadlatinime-e955323ae03c552491ba3d203db0ef242980533f.tar.gz
latinime-e955323ae03c552491ba3d203db0ef242980533f.tar.xz
latinime-e955323ae03c552491ba3d203db0ef242980533f.zip
Breakdown Greek keyboard into rows
Change-Id: I160c0e26058b3841b3820ec95b91d59b295339ca
-rw-r--r--java/res/xml-sw600dp/rowkeys_greek1.xml85
-rw-r--r--java/res/xml-sw600dp/rows_greek.xml121
-rw-r--r--java/res/xml-sw768dp/rows_greek.xml125
-rw-r--r--java/res/xml/rowkeys_greek1.xml118
-rw-r--r--java/res/xml/rowkeys_greek2.xml55
-rw-r--r--java/res/xml/rowkeys_greek3.xml47
-rw-r--r--java/res/xml/rows_greek.xml158
7 files changed, 324 insertions, 385 deletions
diff --git a/java/res/xml-sw600dp/rowkeys_greek1.xml b/java/res/xml-sw600dp/rowkeys_greek1.xml
new file mode 100644
index 000000000..cd77b025f
--- /dev/null
+++ b/java/res/xml-sw600dp/rowkeys_greek1.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <Key
+ latin:keyLabel=";"
+ latin:keyHintLabel=":"
+ latin:moreKeys=":"
+ latin:keyStyle="hasShiftedLetterHintStyle" />
+ <!-- TODO: Should find a way to compound Greek dialytika tonos and other Greek letters. -->
+ <!--
+ <switch>
+ <case
+ latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
+ >
+ U+0385: "΅" GREEK DIALYTIKA TONOS
+ <Key
+ latin:keyLabel="&#x0385;" />
+ </case>
+ <default>
+ -->
+ <!-- U+03C2: "ς" GREEK SMALL LETTER FINAL SIGMA -->
+ <Key
+ latin:keyLabel="&#x03C2;"
+ latin:keyLabelFlags="preserveCase" />
+ <!--
+ </default>
+ </switch>
+ -->
+ <!-- U+03B5: "ε" GREEK SMALL LETTER EPSILON
+ U+03AD: "έ" GREEK SMALL LETTER EPSILON WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03B5;"
+ latin:moreKeys="&#x03AD;" />
+ <!-- U+03C1: "ρ" GREEK SMALL LETTER RHO -->
+ <Key
+ latin:keyLabel="&#x03C1;" />
+ <!-- U+03C4: "τ" GREEK SMALL LETTER TAU -->
+ <Key
+ latin:keyLabel="&#x03C4;" />
+ <!-- U+03C5: "υ" GREEK SMALL LETTER UPSILON
+ U+03CD: "ύ" GREEK SMALL LETTER UPSILON WITH TONOS
+ U+03CB: "ϋ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ U+03B0: "ΰ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS -->
+ <Key
+ latin:keyLabel="&#x03C5;"
+ latin:moreKeys="&#x03CD;,&#x03CB;,&#x03B0;" />
+ <!-- U+03B8: "θ" GREEK SMALL LETTER THETA -->
+ <Key
+ latin:keyLabel="&#x03B8;" />
+ <!-- U+03B9: "ι" GREEK SMALL LETTER IOTA
+ U+03AF: "ί" GREEK SMALL LETTER IOTA WITH TONOS
+ U+03CA: "ϊ" GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ U+0390: "ΐ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS -->
+ <Key
+ latin:keyLabel="&#x03B9;"
+ latin:moreKeys="&#x03AF;,&#x03CA;,&#x0390;" />
+ <!-- U+03BF: "ο" GREEK SMALL LETTER OMICRON
+ U+03CC: "ό" GREEK SMALL LETTER OMICRON WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03BF;"
+ latin:moreKeys="&#x03CC;" />
+ <!-- U+03C0: "π" GREEK SMALL LETTER PI -->
+ <Key
+ latin:keyLabel="&#x03C0;" />
+</merge>
diff --git a/java/res/xml-sw600dp/rows_greek.xml b/java/res/xml-sw600dp/rows_greek.xml
index dab7f907e..7c2567c4a 100644
--- a/java/res/xml-sw600dp/rows_greek.xml
+++ b/java/res/xml-sw600dp/rows_greek.xml
@@ -26,67 +26,8 @@
<Row
latin:keyWidth="9.0%p"
>
- <Key
- latin:keyLabel=";"
- latin:keyHintLabel=":"
- latin:moreKeys=":"
- latin:keyStyle="hasShiftedLetterHintStyle" />
- <!-- TODO: Should find a way to compound Greek dialytika tonos and other Greek letters. -->
- <!--
- <switch>
- <case
- latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
- >
- U+0385: "΅" GREEK DIALYTIKA TONOS
- <Key
- latin:keyLabel="&#x0385;" />
- </case>
- <default>
- -->
- <!-- U+03C2: "ς" GREEK SMALL LETTER FINAL SIGMA -->
- <Key
- latin:keyLabel="&#x03C2;"
- latin:keyLabelFlags="preserveCase" />
- <!--
- </default>
- </switch>
- -->
- <!-- U+03B5: "ε" GREEK SMALL LETTER EPSILON
- U+03AD: "έ" GREEK SMALL LETTER EPSILON WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B5;"
- latin:moreKeys="&#x03AD;" />
- <!-- U+03C1: "ρ" GREEK SMALL LETTER RHO -->
- <Key
- latin:keyLabel="&#x03C1;" />
- <!-- U+03C4: "τ" GREEK SMALL LETTER TAU -->
- <Key
- latin:keyLabel="&#x03C4;" />
- <!-- U+03C5: "υ" GREEK SMALL LETTER UPSILON
- U+03CD: "ύ" GREEK SMALL LETTER UPSILON WITH TONOS
- U+03CB: "ϋ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- U+03B0: "ΰ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS -->
- <Key
- latin:keyLabel="&#x03C5;"
- latin:moreKeys="&#x03CD;,&#x03CB;,&#x03B0;" />
- <!-- U+03B8: "θ" GREEK SMALL LETTER THETA -->
- <Key
- latin:keyLabel="&#x03B8;" />
- <!-- U+03B9: "ι" GREEK SMALL LETTER IOTA
- U+03AF: "ί" GREEK SMALL LETTER IOTA WITH TONOS
- U+03CA: "ϊ" GREEK SMALL LETTER IOTA WITH DIALYTIKA
- U+0390: "ΐ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS -->
- <Key
- latin:keyLabel="&#x03B9;"
- latin:moreKeys="&#x03AF;,&#x03CA;,&#x0390;" />
- <!-- U+03BF: "ο" GREEK SMALL LETTER OMICRON
- U+03CC: "ό" GREEK SMALL LETTER OMICRON WITH TONOS -->
- <Key
- latin:keyLabel="&#x03BF;"
- latin:moreKeys="&#x03CC;" />
- <!-- U+03C0: "π" GREEK SMALL LETTER PI -->
- <Key
- latin:keyLabel="&#x03C0;" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek1" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyXPos="-10.0%p"
@@ -95,38 +36,9 @@
<Row
latin:keyWidth="9.0%p"
>
- <!-- U+03B1: "α" GREEK SMALL LETTER ALPHA
- U+03AC: "ά" GREEK SMALL LETTER ALPHA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B1;"
- latin:moreKeys="&#x03AC;"
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek2"
latin:keyXPos="4.5%p" />
- <!-- U+03C3: "σ" GREEK SMALL LETTER SIGMA -->
- <Key
- latin:keyLabel="&#x03C3;" />
- <!-- U+03B4: "δ" GREEK SMALL LETTER DELTA -->
- <Key
- latin:keyLabel="&#x03B4;" />
- <!-- U+03C6: "φ" GREEK SMALL LETTER PHI -->
- <Key
- latin:keyLabel="&#x03C6;" />
- <!-- U+03B3: "γ" GREEK SMALL LETTER GAMMA -->
- <Key
- latin:keyLabel="&#x03B3;" />
- <!-- U+03B7: "η" GREEK SMALL LETTER ETA
- U+03AE: "ή" GREEK SMALL LETTER ETA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B7;"
- latin:moreKeys="&#x03AE;" />
- <!-- U+03BE: "ξ" GREEK SMALL LETTER XI -->
- <Key
- latin:keyLabel="&#x03BE;" />
- <!-- U+03BA: "κ" GREEK SMALL LETTER KAPPA -->
- <Key
- latin:keyLabel="&#x03BA;" />
- <!-- U+03BB: "λ" GREEK SMALL LETTER LAMDA -->
- <Key
- latin:keyLabel="&#x03BB;" />
<Key
latin:keyStyle="enterKeyStyle"
latin:keyXPos="-14.6%p"
@@ -138,29 +50,8 @@
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="10.0%p" />
- <!-- U+03B6: "ζ" GREEK SMALL LETTER ZETA -->
- <Key
- latin:keyLabel="&#x03B6;" />
- <!-- U+03C7: "χ" GREEK SMALL LETTER CHI -->
- <Key
- latin:keyLabel="&#x03C7;" />
- <!-- U+03C8: "ψ" GREEK SMALL LETTER PSI -->
- <Key
- latin:keyLabel="&#x03C8;" />
- <!-- U+03C9: "ω" GREEK SMALL LETTER OMEGA
- U+03CE: "ώ" GREEK SMALL LETTER OMEGA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03C9;"
- latin:moreKeys="&#x03CE;" />
- <!-- U+03B2: "β" GREEK SMALL LETTER BETA -->
- <Key
- latin:keyLabel="&#x03B2;" />
- <!-- U+03BD: "ν" GREEK SMALL LETTER NU -->
- <Key
- latin:keyLabel="&#x03BD;" />
- <!-- U+03BC: "μ" GREEK SMALL LETTER MU -->
- <Key
- latin:keyLabel="&#x03BC;" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek3" />
<include
latin:keyboardLayout="@xml/keys_comma_period" />
<include
diff --git a/java/res/xml-sw768dp/rows_greek.xml b/java/res/xml-sw768dp/rows_greek.xml
index 7c9072410..88e436a10 100644
--- a/java/res/xml-sw768dp/rows_greek.xml
+++ b/java/res/xml-sw768dp/rows_greek.xml
@@ -30,71 +30,8 @@
latin:keyStyle="tabKeyStyle"
latin:keyLabelFlags="alignLeft"
latin:keyWidth="7.969%p" />
- <Key
- latin:keyLabel=";"
- latin:keyHintLabel=":"
- latin:moreKeys=":"
- latin:keyStyle="hasShiftedLetterHintStyle" />
- <!-- TODO: Should find a way to compound Greek dialytika tonos and other Greek letters. -->
- <!--
- <switch>
- <case
- latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
- >
- U+0385: "΅" GREEK DIALYTIKA TONOS
- <Key
- latin:keyLabel="&#x0385;" />
- </case>
- <default>
- -->
- <!-- U+03C2: "ς" GREEK SMALL LETTER FINAL SIGMA -->
- <Key
- latin:keyLabel="&#x03C2;"
- latin:keyLabelFlags="preserveCase" />
- <!--
- </default>
- </switch>
- -->
- <!-- U+03B5: "ε" GREEK SMALL LETTER EPSILON
- U+03AD: "έ" GREEK SMALL LETTER EPSILON WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B5;"
- latin:moreKeys="&#x03AD;" />
- <!-- U+03C1: "ρ" GREEK SMALL LETTER RHO -->
- <Key
- latin:keyLabel="&#x03C1;" />
- <!-- U+03C4: "τ" GREEK SMALL LETTER TAU -->
- <Key
- latin:keyLabel="&#x03C4;" />
- <!-- U+03C5: "υ" GREEK SMALL LETTER UPSILON
- U+03CD: "ύ" GREEK SMALL LETTER UPSILON WITH TONOS
- U+03CB: "ϋ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- U+03B0: "ΰ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS -->
- <Key
- latin:keyLabel="&#x03C5;"
- latin:moreKeys="&#x03CD;,&#x03CB;,&#x03B0;" />
- <!-- U+03B8: "θ" GREEK SMALL LETTER THETA -->
- <Key
- latin:keyLabel="&#x03B8;" />
- <!-- U+03B9: "ι" GREEK SMALL LETTER IOTA
- U+03AF: "ί" GREEK SMALL LETTER IOTA WITH TONOS
- U+03CA: "ϊ" GREEK SMALL LETTER IOTA WITH DIALYTIKA
- U+0390: "ΐ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS -->
- <Key
- latin:keyLabel="&#x03B9;"
- latin:moreKeys="&#x03AF;,&#x03CA;,&#x0390;" />
- <!-- U+03BF: "ο" GREEK SMALL LETTER OMICRON
- U+03CC: "ό" GREEK SMALL LETTER OMICRON WITH TONOS -->
- <Key
- latin:keyLabel="&#x03BF;"
- latin:moreKeys="&#x03CC;" />
- <!-- U+03C0: "π" GREEK SMALL LETTER PI -->
- <Key
- latin:keyLabel="&#x03C0;" />
- <Key
- latin:keyStyle="deleteKeyStyle"
- latin:keyXPos="-9.219%p"
- latin:keyWidth="fillBoth" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek1" />
</Row>
<Row
latin:keyWidth="8.125%p"
@@ -103,37 +40,8 @@
latin:keyStyle="toSymbolKeyStyle"
latin:keyLabelFlags="alignLeft"
latin:keyWidth="11.172%p"/>
- <!-- U+03B1: "α" GREEK SMALL LETTER ALPHA
- U+03AC: "ά" GREEK SMALL LETTER ALPHA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B1;"
- latin:moreKeys="&#x03AC;" />
- <!-- U+03C3: "σ" GREEK SMALL LETTER SIGMA -->
- <Key
- latin:keyLabel="&#x03C3;" />
- <!-- U+03B4: "δ" GREEK SMALL LETTER DELTA -->
- <Key
- latin:keyLabel="&#x03B4;" />
- <!-- U+03C6: "φ" GREEK SMALL LETTER PHI -->
- <Key
- latin:keyLabel="&#x03C6;" />
- <!-- U+03B3: "γ" GREEK SMALL LETTER GAMMA -->
- <Key
- latin:keyLabel="&#x03B3;" />
- <!-- U+03B7: "η" GREEK SMALL LETTER ETA
- U+03AE: "ή" GREEK SMALL LETTER ETA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B7;"
- latin:moreKeys="&#x03AE;" />
- <!-- U+03BE: "ξ" GREEK SMALL LETTER XI -->
- <Key
- latin:keyLabel="&#x03BE;" />
- <!-- U+03BA: "κ" GREEK SMALL LETTER KAPPA -->
- <Key
- latin:keyLabel="&#x03BA;" />
- <!-- U+03BB: "λ" GREEK SMALL LETTER LAMDA -->
- <Key
- latin:keyLabel="&#x03BB;" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek2" />
<Key
latin:keyStyle="enterKeyStyle"
latin:keyXPos="-15.704%p"
@@ -145,29 +53,8 @@
<Key
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="13.829%p" />
- <!-- U+03B6: "ζ" GREEK SMALL LETTER ZETA -->
- <Key
- latin:keyLabel="&#x03B6;" />
- <!-- U+03C7: "χ" GREEK SMALL LETTER CHI -->
- <Key
- latin:keyLabel="&#x03C7;" />
- <!-- U+03C8: "ψ" GREEK SMALL LETTER PSI -->
- <Key
- latin:keyLabel="&#x03C8;" />
- <!-- U+03C9: "ω" GREEK SMALL LETTER OMEGA
- U+03CE: "ώ" GREEK SMALL LETTER OMEGA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03C9;"
- latin:moreKeys="&#x03CE;" />
- <!-- U+03B2: "β" GREEK SMALL LETTER BETA -->
- <Key
- latin:keyLabel="&#x03B2;" />
- <!-- U+03BD: "ν" GREEK SMALL LETTER NU -->
- <Key
- latin:keyLabel="&#x03BD;" />
- <!-- U+03BC: "μ" GREEK SMALL LETTER MU -->
- <Key
- latin:keyLabel="&#x03BC;" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek3" />
<include
latin:keyboardLayout="@xml/keys_comma_period" />
<Key
diff --git a/java/res/xml/rowkeys_greek1.xml b/java/res/xml/rowkeys_greek1.xml
new file mode 100644
index 000000000..c0a5cb9a6
--- /dev/null
+++ b/java/res/xml/rowkeys_greek1.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <switch>
+ <case
+ latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
+ >
+ <Key
+ latin:keyLabel=":"
+ latin:keyHintLabel="1"
+ latin:moreKeys=";"
+ latin:additionalMoreKeys="1" />
+ </case>
+ <default>
+ <Key
+ latin:keyLabel=";"
+ latin:keyHintLabel="1"
+ latin:moreKeys=":"
+ latin:additionalMoreKeys="1" />
+ </default>
+ </switch>
+ <!-- TODO: Should find a way to compound Greek dialytika tonos and other Greek letters. -->
+ <!--
+ <switch>
+ <case
+ latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
+ >
+ U+0385: "΅" GREEK DIALYTIKA TONOS
+ <Key
+ latin:keyLabel="&#x0385;"
+ latin:keyHintLabel="2"
+ latin:additionalMoreKeys="2" />
+ </case>
+ <default>
+ -->
+ <!-- U+03C2: "ς" GREEK SMALL LETTER FINAL SIGMA -->
+ <Key
+ latin:keyLabel="&#x03C2;"
+ latin:keyLabelFlags="preserveCase"
+ latin:keyHintLabel="2"
+ latin:additionalMoreKeys="2" />
+ <!--
+ </default>
+ </switch>
+ -->
+ <!-- U+03B5: "ε" GREEK SMALL LETTER EPSILON
+ U+03AD: "έ" GREEK SMALL LETTER EPSILON WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03B5;"
+ latin:keyHintLabel="3"
+ latin:additionalMoreKeys="3"
+ latin:moreKeys="&#x03AD;" />
+ <!-- U+03C1: "ρ" GREEK SMALL LETTER RHO -->
+ <Key
+ latin:keyLabel="&#x03C1;"
+ latin:keyHintLabel="4"
+ latin:additionalMoreKeys="4" />
+ <!-- U+03C4: "τ" GREEK SMALL LETTER TAU -->
+ <Key
+ latin:keyLabel="&#x03C4;"
+ latin:keyHintLabel="5"
+ latin:additionalMoreKeys="5" />
+ <!-- U+03C5: "υ" GREEK SMALL LETTER UPSILON
+ U+03CD: "ύ" GREEK SMALL LETTER UPSILON WITH TONOS
+ U+03CB: "ϋ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+ U+03B0: "ΰ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS -->
+ <Key
+ latin:keyLabel="&#x03C5;"
+ latin:keyHintLabel="6"
+ latin:additionalMoreKeys="6"
+ latin:moreKeys="&#x03CD;,&#x03CB;,&#x03B0;" />
+ <!-- U+03B8: "θ" GREEK SMALL LETTER THETA -->
+ <Key
+ latin:keyLabel="&#x03B8;"
+ latin:keyHintLabel="7"
+ latin:additionalMoreKeys="7" />
+ <!-- U+03B9: "ι" GREEK SMALL LETTER IOTA
+ U+03AF: "ί" GREEK SMALL LETTER IOTA WITH TONOS
+ U+03CA: "ϊ" GREEK SMALL LETTER IOTA WITH DIALYTIKA
+ U+0390: "ΐ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS -->
+ <Key
+ latin:keyLabel="&#x03B9;"
+ latin:keyHintLabel="8"
+ latin:additionalMoreKeys="8"
+ latin:moreKeys="&#x03AF;,&#x03CA;,&#x0390;" />
+ <!-- U+03BF: "ο" GREEK SMALL LETTER OMICRON
+ U+03CC: "ό" GREEK SMALL LETTER OMICRON WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03BF;"
+ latin:keyHintLabel="9"
+ latin:additionalMoreKeys="9"
+ latin:moreKeys="&#x03CC;" />
+ <!-- U+03C0: "π" GREEK SMALL LETTER PI -->
+ <Key
+ latin:keyLabel="&#x03C0;"
+ latin:keyHintLabel="0"
+ latin:additionalMoreKeys="0" />
+</merge>
diff --git a/java/res/xml/rowkeys_greek2.xml b/java/res/xml/rowkeys_greek2.xml
new file mode 100644
index 000000000..91bdc1165
--- /dev/null
+++ b/java/res/xml/rowkeys_greek2.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <!-- U+03B1: "α" GREEK SMALL LETTER ALPHA
+ U+03AC: "ά" GREEK SMALL LETTER ALPHA WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03B1;"
+ latin:moreKeys="&#x03AC;" />
+ <!-- U+03C3: "σ" GREEK SMALL LETTER SIGMA -->
+ <Key
+ latin:keyLabel="&#x03C3;" />
+ <!-- U+03B4: "δ" GREEK SMALL LETTER DELTA -->
+ <Key
+ latin:keyLabel="&#x03B4;" />
+ <!-- U+03C6: "φ" GREEK SMALL LETTER PHI -->
+ <Key
+ latin:keyLabel="&#x03C6;" />
+ <!-- U+03B3: "γ" GREEK SMALL LETTER GAMMA -->
+ <Key
+ latin:keyLabel="&#x03B3;" />
+ <!-- U+03B7: "η" GREEK SMALL LETTER ETA
+ U+03AE: "ή" GREEK SMALL LETTER ETA WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03B7;"
+ latin:moreKeys="&#x03AE;" />
+ <!-- U+03BE: "ξ" GREEK SMALL LETTER XI -->
+ <Key
+ latin:keyLabel="&#x03BE;" />
+ <!-- U+03BA: "κ" GREEK SMALL LETTER KAPPA -->
+ <Key
+ latin:keyLabel="&#x03BA;" />
+ <!-- U+03BB: "λ" GREEK SMALL LETTER LAMDA -->
+ <Key
+ latin:keyLabel="&#x03BB;" />
+</merge>
diff --git a/java/res/xml/rowkeys_greek3.xml b/java/res/xml/rowkeys_greek3.xml
new file mode 100644
index 000000000..8a99db925
--- /dev/null
+++ b/java/res/xml/rowkeys_greek3.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <!-- U+03B6: "ζ" GREEK SMALL LETTER ZETA -->
+ <Key
+ latin:keyLabel="&#x03B6;" />
+ <!-- U+03C7: "χ" GREEK SMALL LETTER CHI -->
+ <Key
+ latin:keyLabel="&#x03C7;" />
+ <!-- U+03C8: "ψ" GREEK SMALL LETTER PSI -->
+ <Key
+ latin:keyLabel="&#x03C8;" />
+ <!-- U+03C9: "ω" GREEK SMALL LETTER OMEGA
+ U+03CE: "ώ" GREEK SMALL LETTER OMEGA WITH TONOS -->
+ <Key
+ latin:keyLabel="&#x03C9;"
+ latin:moreKeys="&#x03CE;" />
+ <!-- U+03B2: "β" GREEK SMALL LETTER BETA -->
+ <Key
+ latin:keyLabel="&#x03B2;" />
+ <!-- U+03BD: "ν" GREEK SMALL LETTER NU -->
+ <Key
+ latin:keyLabel="&#x03BD;" />
+ <!-- U+03BC: "μ" GREEK SMALL LETTER MU -->
+ <Key
+ latin:keyLabel="&#x03BC;" />
+</merge>
diff --git a/java/res/xml/rows_greek.xml b/java/res/xml/rows_greek.xml
index 24b5c1838..e00b927a0 100644
--- a/java/res/xml/rows_greek.xml
+++ b/java/res/xml/rows_greek.xml
@@ -26,138 +26,15 @@
<Row
latin:keyWidth="10%p"
>
- <switch>
- <case
- latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
- >
- <Key
- latin:keyLabel=":"
- latin:keyHintLabel="1"
- latin:moreKeys=";"
- latin:additionalMoreKeys="1" />
- </case>
- <default>
- <Key
- latin:keyLabel=";"
- latin:keyHintLabel="1"
- latin:moreKeys=":"
- latin:additionalMoreKeys="1" />
- </default>
- </switch>
- <!-- TODO: Should find a way to compound Greek dialytika tonos and other Greek letters. -->
- <!--
- <switch>
- <case
- latin:keyboardSetElement="alphabetManualShifted|alphabetShiftLockShifted"
- >
- U+0385: "΅" GREEK DIALYTIKA TONOS
- <Key
- latin:keyLabel="&#x0385;"
- latin:keyHintLabel="2"
- latin:additionalMoreKeys="2" />
- </case>
- <default>
- -->
- <!-- U+03C2: "ς" GREEK SMALL LETTER FINAL SIGMA -->
- <Key
- latin:keyLabel="&#x03C2;"
- latin:keyLabelFlags="preserveCase"
- latin:keyHintLabel="2"
- latin:additionalMoreKeys="2" />
- <!--
- </default>
- </switch>
- -->
- <!-- U+03B5: "ε" GREEK SMALL LETTER EPSILON
- U+03AD: "έ" GREEK SMALL LETTER EPSILON WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B5;"
- latin:keyHintLabel="3"
- latin:additionalMoreKeys="3"
- latin:moreKeys="&#x03AD;" />
- <!-- U+03C1: "ρ" GREEK SMALL LETTER RHO -->
- <Key
- latin:keyLabel="&#x03C1;"
- latin:keyHintLabel="4"
- latin:additionalMoreKeys="4" />
- <!-- U+03C4: "τ" GREEK SMALL LETTER TAU -->
- <Key
- latin:keyLabel="&#x03C4;"
- latin:keyHintLabel="5"
- latin:additionalMoreKeys="5" />
- <!-- U+03C5: "υ" GREEK SMALL LETTER UPSILON
- U+03CD: "ύ" GREEK SMALL LETTER UPSILON WITH TONOS
- U+03CB: "ϋ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA
- U+03B0: "ΰ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS -->
- <Key
- latin:keyLabel="&#x03C5;"
- latin:keyHintLabel="6"
- latin:additionalMoreKeys="6"
- latin:moreKeys="&#x03CD;,&#x03CB;,&#x03B0;" />
- <!-- U+03B8: "θ" GREEK SMALL LETTER THETA -->
- <Key
- latin:keyLabel="&#x03B8;"
- latin:keyHintLabel="7"
- latin:additionalMoreKeys="7" />
- <!-- U+03B9: "ι" GREEK SMALL LETTER IOTA
- U+03AF: "ί" GREEK SMALL LETTER IOTA WITH TONOS
- U+03CA: "ϊ" GREEK SMALL LETTER IOTA WITH DIALYTIKA
- U+0390: "ΐ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS -->
- <Key
- latin:keyLabel="&#x03B9;"
- latin:keyHintLabel="8"
- latin:additionalMoreKeys="8"
- latin:moreKeys="&#x03AF;,&#x03CA;,&#x0390;" />
- <!-- U+03BF: "ο" GREEK SMALL LETTER OMICRON
- U+03CC: "ό" GREEK SMALL LETTER OMICRON WITH TONOS -->
- <Key
- latin:keyLabel="&#x03BF;"
- latin:keyHintLabel="9"
- latin:additionalMoreKeys="9"
- latin:moreKeys="&#x03CC;" />
- <!-- U+03C0: "π" GREEK SMALL LETTER PI -->
- <Key
- latin:keyLabel="&#x03C0;"
- latin:keyHintLabel="0"
- latin:additionalMoreKeys="0"
- latin:keyWidth="fillRight" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek1" />
</Row>
<Row
latin:keyWidth="10%p"
>
- <!-- U+03B1: "α" GREEK SMALL LETTER ALPHA
- U+03AC: "ά" GREEK SMALL LETTER ALPHA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B1;"
- latin:moreKeys="&#x03AC;"
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek2"
latin:keyXPos="5%p" />
- <!-- U+03C3: "σ" GREEK SMALL LETTER SIGMA -->
- <Key
- latin:keyLabel="&#x03C3;" />
- <!-- U+03B4: "δ" GREEK SMALL LETTER DELTA -->
- <Key
- latin:keyLabel="&#x03B4;" />
- <!-- U+03C6: "φ" GREEK SMALL LETTER PHI -->
- <Key
- latin:keyLabel="&#x03C6;" />
- <!-- U+03B3: "γ" GREEK SMALL LETTER GAMMA -->
- <Key
- latin:keyLabel="&#x03B3;" />
- <!-- U+03B7: "η" GREEK SMALL LETTER ETA
- U+03AE: "ή" GREEK SMALL LETTER ETA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03B7;"
- latin:moreKeys="&#x03AE;" />
- <!-- U+03BE: "ξ" GREEK SMALL LETTER XI -->
- <Key
- latin:keyLabel="&#x03BE;" />
- <!-- U+03BA: "κ" GREEK SMALL LETTER KAPPA -->
- <Key
- latin:keyLabel="&#x03BA;" />
- <!-- U+03BB: "λ" GREEK SMALL LETTER LAMDA -->
- <Key
- latin:keyLabel="&#x03BB;" />
- <!-- Here is 5%p space -->
</Row>
<Row
latin:keyWidth="10%p"
@@ -166,34 +43,13 @@
latin:keyStyle="shiftKeyStyle"
latin:keyWidth="15%p"
latin:visualInsetsRight="1%p" />
- <!-- U+03B6: "ζ" GREEK SMALL LETTER ZETA -->
- <Key
- latin:keyLabel="&#x03B6;" />
- <!-- U+03C7: "χ" GREEK SMALL LETTER CHI -->
- <Key
- latin:keyLabel="&#x03C7;" />
- <!-- U+03C8: "ψ" GREEK SMALL LETTER PSI -->
- <Key
- latin:keyLabel="&#x03C8;" />
- <!-- U+03C9: "ω" GREEK SMALL LETTER OMEGA
- U+03CE: "ώ" GREEK SMALL LETTER OMEGA WITH TONOS -->
- <Key
- latin:keyLabel="&#x03C9;"
- latin:moreKeys="&#x03CE;" />
- <!-- U+03B2: "β" GREEK SMALL LETTER BETA -->
- <Key
- latin:keyLabel="&#x03B2;" />
- <!-- U+03BD: "ν" GREEK SMALL LETTER NU -->
- <Key
- latin:keyLabel="&#x03BD;" />
- <!-- U+03BC: "μ" GREEK SMALL LETTER MU -->
- <Key
- latin:keyLabel="&#x03BC;" />
+ <include
+ latin:keyboardLayout="@xml/rowkeys_greek3" />
<Key
latin:keyStyle="deleteKeyStyle"
latin:keyWidth="fillRight"
latin:visualInsetsLeft="1%p" />
</Row>
- <include
+ <include
latin:keyboardLayout="@xml/row_qwerty4" />
</merge>