Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 866d1e62 authored by Giorgos Mavrikas's avatar Giorgos Mavrikas Committed by Steve Kondik
Browse files

Added Greek characters and removed Greek from blacklist

Change-Id: I6fa7ec9ffd5f6765d71420af422456b23f78ae95
parent 65582531
Loading
Loading
Loading
Loading
+182 −0
Original line number Diff line number Diff line
<?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>
+1 −1
Original line number Diff line number Diff line
@@ -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 {