diff options
| author | Giorgos Mavrikas <gmavrikas@googlemail.com> | 2010-08-26 12:18:39 +0300 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2010-08-26 09:15:39 -0400 |
| commit | 866d1e626da5defec57624ffa69bc8ac5be399a8 (patch) | |
| tree | 83acf81ed0b58f4728b4b71aa9106685a6ec2807 /java | |
| parent | 6558253160e2039c87f424bd814f402ecd31de3b (diff) | |
| download | android_packages_inputmethods_LatinIME-866d1e626da5defec57624ffa69bc8ac5be399a8.tar.gz android_packages_inputmethods_LatinIME-866d1e626da5defec57624ffa69bc8ac5be399a8.tar.bz2 android_packages_inputmethods_LatinIME-866d1e626da5defec57624ffa69bc8ac5be399a8.zip | |
Added Greek characters and removed Greek from blacklist
Change-Id: I6fa7ec9ffd5f6765d71420af422456b23f78ae95
Diffstat (limited to 'java')
| -rw-r--r-- | java/res/xml-el/kbd_qwerty.xml | 182 | ||||
| -rw-r--r-- | java/src/com/android/inputmethod/latin/InputLanguageSelection.java | 2 |
2 files changed, 183 insertions, 1 deletions
diff --git a/java/res/xml-el/kbd_qwerty.xml b/java/res/xml-el/kbd_qwerty.xml new file mode 100644 index 000000000..a0aedeed1 --- /dev/null +++ b/java/res/xml-el/kbd_qwerty.xml @@ -0,0 +1,182 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2008, 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. +*/ +--> + +<Keyboard xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="0px" + android:keyHeight="@dimen/key_height" + > + + <Row> + <Key android:keyLabel=";" + android:keyEdgeFlags="left"/> + <Key android:keyLabel="ς"/> + <Key android:keyLabel="ε" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="έ" /> + <Key android:keyLabel="ρ"/> + <Key android:keyLabel="τ"/> + <Key android:keyLabel="υ" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="ύϋΰ" /> + <Key android:keyLabel="θ"/> + <Key android:keyLabel="ι" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="ίϊΐ" /> + <Key android:keyLabel="ο" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="ό" /> + <Key android:keyLabel="π" + android:keyEdgeFlags="right" /> + </Row> + + <Row> + <Key android:keyLabel="α" + android:horizontalGap="5%" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="ά" + android:keyEdgeFlags="left" /> + <Key android:keyLabel="σ"/> + <Key android:keyLabel="δ"/> + <Key android:keyLabel="φ"/> + <Key android:keyLabel="γ"/> + <Key android:keyLabel="η" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="ή" /> + <Key android:keyLabel="ξ"/> + <Key android:keyLabel="κ"/> + <Key android:keyLabel="λ" + android:keyEdgeFlags="right" /> + </Row> + + <Row> + <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" + android:keyWidth="15%p" android:isModifier="true" + android:iconPreview="@drawable/sym_keyboard_feedback_shift" + android:isSticky="true" android:keyEdgeFlags="left"/> + <Key android:keyLabel="ζ"/> + <Key android:keyLabel="χ"/> + <Key android:keyLabel="ψ"/> + <Key android:keyLabel="ω" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="ώ" /> + <Key android:keyLabel="β"/> + <Key android:keyLabel="ν"/> + <Key android:keyLabel="μ"/> + <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" + android:keyWidth="15%p" android:keyEdgeFlags="right" + android:iconPreview="@drawable/sym_keyboard_feedback_delete" + android:isRepeatable="true"/> + </Row> + + <Row android:keyboardMode="@+id/mode_normal" android:rowEdgeFlags="bottom"> + <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="_" + android:keyWidth="20%p" android:keyEdgeFlags="left"/> + <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" + android:keyWidth="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" android:isRepeatable="true"/> + <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" + android:keyWidth="10%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> + + <Row android:keyboardMode="@+id/mode_url" android:rowEdgeFlags="bottom"> + <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="_" + android:keyWidth="20%p" android:keyEdgeFlags="left"/> + <Key android:keyLabel="/" android:keyWidth="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" android:isRepeatable="true"/> + <!--Key android:keyLabel="@string/popular_domain_0" + android:keyOutputText="@string/popular_domain_0" + android:popupKeyboard="@xml/popup_domains" + android:keyWidth="20%p"/--> + <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" + android:keyWidth="10%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> + + <Row android:keyboardMode="@+id/mode_email" android:rowEdgeFlags="bottom"> + <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="_" + android:keyWidth="20%p" android:keyEdgeFlags="left"/> + <Key android:keyLabel="\@" android:keyWidth="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" android:isRepeatable="true"/> + <!--Key android:keyLabel="@string/popular_domain_0" + android:keyOutputText="@string/popular_domain_0" + android:popupKeyboard="@xml/popup_domains" + android:keyWidth="20%p"/--> + <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> + + <Row android:keyboardMode="@+id/mode_im" android:rowEdgeFlags="bottom"> + <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="_" + android:keyWidth="20%p" android:keyEdgeFlags="left"/> + <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" + android:keyWidth="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" android:isRepeatable="true"/> + <Key android:codes="46" android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation" + android:keyWidth="10%p"/> + <Key android:keyLabel=":-)" android:keyOutputText=":-) " + android:popupKeyboard="@xml/popup_smileys" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> + + <Row android:keyboardMode="@+id/mode_webentry" android:rowEdgeFlags="bottom"> + <Key android:codes="-2" android:keyLabel="@string/label_symbol_key" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="_" + android:keyWidth="20%p" android:keyEdgeFlags="left"/> + <Key android:codes="@integer/key_f1" android:keyIcon="@drawable/sym_keyboard_globe" + android:keyWidth="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="20%p" android:isRepeatable="true"/> + <Key android:codes="9" android:keyIcon="@drawable/sym_keyboard_tab" + android:iconPreview="@drawable/sym_keyboard_feedback_tab" + android:keyWidth="20%p"/> + <Key android:keyLabel="." android:popupKeyboard="@xml/popup_punctuation"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> +</Keyboard> + diff --git a/java/src/com/android/inputmethod/latin/InputLanguageSelection.java b/java/src/com/android/inputmethod/latin/InputLanguageSelection.java index 5e835e543..da5aa8f53 100644 --- a/java/src/com/android/inputmethod/latin/InputLanguageSelection.java +++ b/java/src/com/android/inputmethod/latin/InputLanguageSelection.java @@ -37,7 +37,7 @@ public class InputLanguageSelection extends PreferenceActivity { private String mSelectedLanguages; private ArrayList<Loc> mAvailableLanguages = new ArrayList<Loc>(); private static final String[] BLACKLIST_LANGUAGES = { - "ko", "ja", "zh", "el" + "ko", "ja", "zh" }; private static class Loc implements Comparable { |
