0cf4376826
Although modern Greek is typically written with only acute accent marks, polytonic diacritics are still used by the Greek orthodox church, the Greek newspaper Estia, and students of classical Greek texts. Supporting these special characters is helpful to all of those groups. Note that for the short vowels (epsilon, upsilon, iota, and omicron) all of the diacritics permitted on lowercase letters are also permitted on their uppercase forms. However, for the long vowels (alpha, eta, and omega) the diacritics permitted on uppercase letters are a subset of the diacritics permitted on lowercase letters. That's just how Greek is. Test: Manually turned on the Greek (Greece) keyboard in the aosp_x86-eng emulator and tried out all the new characters with Shift, with Shift Lock, and without any modifiers. Bug: 142007431 Change-Id: Iec4a82cab02aea5176721e8447f7dfdba46bacb3
158 lines
7 KiB
XML
158 lines
7 KiB
XML
<?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:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted"
|
||
>
|
||
<Key
|
||
latin:keySpec=":"
|
||
latin:keyHintLabel="1"
|
||
latin:moreKeys=";,·"
|
||
latin:additionalMoreKeys="1" />
|
||
</case>
|
||
<default>
|
||
<Key
|
||
latin:keySpec=";"
|
||
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:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLockShifted"
|
||
>
|
||
U+0385: "΅" GREEK DIALYTIKA TONOS
|
||
<Key
|
||
latin:keySpec="΅"
|
||
latin:keyHintLabel="2"
|
||
latin:additionalMoreKeys="2" />
|
||
</case>
|
||
<default>
|
||
-->
|
||
<!-- U+03C2: "ς" GREEK SMALL LETTER FINAL SIGMA -->
|
||
<Key
|
||
latin:keySpec="ς"
|
||
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
|
||
U+1F72: "ὲ" GREEK SMALL LETTER EPSILON WITH VARIA
|
||
U+1F10: "ἐ" GREEK SMALL LETTER EPSILON WITH PSILI
|
||
U+1F11: "ἑ" GREEK SMALL LETTER EPSILON WITH DASIA
|
||
U+1F14: "ἔ" GREEK SMALL LETTER EPSILON WITH PSILI AND OXIA
|
||
U+1F15: "ἕ" GREEK SMALL LETTER EPSILON WITH DASIA AND OXIA
|
||
U+1F12: "ἒ" GREEK SMALL LETTER EPSILON WITH PSILI AND VARIA
|
||
U+1F13: "ἓ" GREEK SMALL LETTER EPSILON WITH DASIA AND VARIA -->
|
||
<Key
|
||
latin:keySpec="ε"
|
||
latin:keyHintLabel="3"
|
||
latin:additionalMoreKeys="3"
|
||
latin:moreKeys="έ,%,ὲ,ἐ,ἑ,ἔ,ἕ,ἒ,ἓ" />
|
||
<!-- U+03C1: "ρ" GREEK SMALL LETTER RHO
|
||
U+1FE5: "ῥ" GREEK SMALL LETTER RHO WITH DASIA -->
|
||
<Key
|
||
latin:keySpec="ρ"
|
||
latin:keyHintLabel="4"
|
||
latin:additionalMoreKeys="4"
|
||
latin:moreKeys="%,ῥ" />
|
||
<!-- U+03C4: "τ" GREEK SMALL LETTER TAU -->
|
||
<Key
|
||
latin:keySpec="τ"
|
||
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
|
||
U+1F7A: "ὺ" GREEK SMALL LETTER UPSILON WITH VARIA
|
||
U+1FE6: "ῦ" GREEK SMALL LETTER UPSILON WITH PERISPOMENI
|
||
U+1F50: "ὐ" GREEK SMALL LETTER UPSILON WITH PSILI
|
||
U+1F51: "ὑ" GREEK SMALL LETTER UPSILON WITH DASIA
|
||
U+1F54: "ὔ" GREEK SMALL LETTER UPSILON WITH PSILI AND OXIA
|
||
U+1F55: "ὕ" GREEK SMALL LETTER UPSILON WITH DASIA AND OXIA
|
||
U+1F52: "ὒ" GREEK SMALL LETTER UPSILON WITH PSILI AND VARIA
|
||
U+1F53: "ὓ" GREEK SMALL LETTER UPSILON WITH DASIA AND VARIA
|
||
U+1F56: "ὖ" GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENI
|
||
U+1F57: "ὗ" GREEK SMALL LETTER UPSILON WITH DASIA AND PERISPOMENI
|
||
U+1FE2: "ῢ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND VARIA
|
||
U+1FE7: "ῧ" GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND PERISPOMENI -->
|
||
<Key
|
||
latin:keySpec="υ"
|
||
latin:keyHintLabel="6"
|
||
latin:additionalMoreKeys="6"
|
||
latin:moreKeys="ύ,%,ϋ,ΰ,ὺ,ῦ,ὐ,ὑ,ὔ,ὕ,ὒ,ὓ,ὖ,ὗ,ῢ,ῧ" />
|
||
<!-- U+03B8: "θ" GREEK SMALL LETTER THETA -->
|
||
<Key
|
||
latin:keySpec="θ"
|
||
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
|
||
U+1F76: "ὶ" GREEK SMALL LETTER IOTA WITH VARIA
|
||
U+1FD6: "ῖ" GREEK SMALL LETTER IOTA WITH PERISPOMENI
|
||
U+1F30: "ἰ" GREEK SMALL LETTER IOTA WITH PSILI
|
||
U+1F31: "ἱ" GREEK SMALL LETTER IOTA WITH DASIA
|
||
U+1F34: "ἴ" GREEK SMALL LETTER IOTA WITH PSILI AND OXIA
|
||
U+1F35: "ἵ" GREEK SMALL LETTER IOTA WITH DASIA AND OXIA
|
||
U+1F32: "ἲ" GREEK SMALL LETTER IOTA WITH PSILI AND VARIA
|
||
U+1F33: "ἳ" GREEK SMALL LETTER IOTA WITH DASIA AND VARIA
|
||
U+1F36: "ἶ" GREEK SMALL LETTER IOTA WITH PSILI AND PERISPOMENI
|
||
U+1F37: "ἷ" GREEK SMALL LETTER IOTA WITH DASIA AND PERISPOMENI
|
||
U+1FD2: "ῒ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND VARIA
|
||
U+1FD7: "ῗ" GREEK SMALL LETTER IOTA WITH DIALYTIKA AND PERISPOMENI -->
|
||
<Key
|
||
latin:keySpec="ι"
|
||
latin:keyHintLabel="8"
|
||
latin:additionalMoreKeys="8"
|
||
latin:moreKeys="ί,%,ϊ,ΐ,ὶ,ῖ,ἰ,ἱ,ἴ,ἵ,ἲ,ἳ,ἶ,ἷ,ῒ,ῗ" />
|
||
<!-- U+03BF: "ο" GREEK SMALL LETTER OMICRON
|
||
U+03CC: "ό" GREEK SMALL LETTER OMICRON WITH TONOS
|
||
U+1F78: "ὸ" GREEK SMALL LETTER OMICRON WITH VARIA
|
||
U+1F40: "ὀ" GREEK SMALL LETTER OMICRON WITH PSILI
|
||
U+1F41: "ὁ" GREEK SMALL LETTER OMICRON WITH DASIA
|
||
U+1F44: "ὄ" GREEK SMALL LETTER OMICRON WITH PSILI AND OXIA
|
||
U+1F45: "ὅ" GREEK SMALL LETTER OMICRON WITH DASIA AND OXIA
|
||
U+1F42: "ὂ" GREEK SMALL LETTER OMICRON WITH PSILI AND VARIA
|
||
U+1F43: "ὃ" GREEK SMALL LETTER OMICRON WITH DASIA AND VARIA -->
|
||
<Key
|
||
latin:keySpec="ο"
|
||
latin:keyHintLabel="9"
|
||
latin:additionalMoreKeys="9"
|
||
latin:moreKeys="ό,%,ὸ,ὀ,ὁ,ὄ,ὅ,ὂ,ὃ" />
|
||
<!-- U+03C0: "π" GREEK SMALL LETTER PI -->
|
||
<Key
|
||
latin:keySpec="π"
|
||
latin:keyHintLabel="0"
|
||
latin:additionalMoreKeys="0" />
|
||
</merge>
|