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

Commit b916fab1 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Add a first version of Hebrew and Arabic keyboard."

parents 525028c8 e50add1f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -242,6 +242,8 @@

    <!-- Description for Czech keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_cs_keyboard">Czech Keyboard</string>
    <!-- Description for Arabic keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_ar_keyboard">Arabic Keyboard</string>
    <!-- Description for Danish keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_da_keyboard">Danish Keyboard</string>
    <!-- Description for German keyboard subtype [CHAR LIMIT=35] -->
@@ -260,6 +262,9 @@
    <string name="subtype_mode_fr_CA_keyboard">French (Canada) Keyboard</string>
    <!-- Description for French (Switzerland) keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_fr_CH_keyboard">French (Switzerland) Keyboard</string>
    <!-- Description for Hebrew keyboard subtype [CHAR LIMIT=35] -->
    <!-- Java uses the deprecated "iw" code instead of the standard "he" code -->
    <string name="subtype_mode_iw_keyboard">Hebrew Keyboard</string>
    <!-- Description for Italian keyboard subtype [CHAR LIMIT=35] -->
    <string name="subtype_mode_it_keyboard">Italian Keyboard</string>
    <!-- Description for Norwegian keyboard subtype [CHAR LIMIT=35] -->
+34 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, 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:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
    latin:keyboardHeight="@dimen/keyboardHeight"
    latin:maxKeyboardHeight="50%p"
    latin:rowHeight="25%p"
    latin:keyWidth="10%p"
    latin:horizontalGap="@dimen/key_horizontal_gap"
    latin:verticalGap="@dimen/key_bottom_gap"
    latin:popupKeyboardTemplate="@xml/kbd_popup_template"
    latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
>
    <include
        latin:keyboardLayout="@xml/kbd_ar_rows" />
</Keyboard>
+2 −80
Original line number Diff line number Diff line
@@ -30,83 +30,5 @@
    latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
>
    <include
        latin:keyboardLayout="@xml/kbd_key_styles" />
    <Row
        latin:rowEdgeFlags="top"
    >
        <Spacer
            latin:horizontalGap="5%p" />
        <Key
            latin:keyLabel="ק"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ר" />
        <Key
            latin:keyLabel="א" />
        <Key
            latin:keyLabel="ט" />
        <Key
            latin:keyLabel="ו" />
        <Key
            latin:keyLabel="ן" />
        <Key
            latin:keyLabel="ם" />
        <Key
            latin:keyLabel="פ" />
        <Spacer
            latin:horizontalGap="1.25%p" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="13.75%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <Row>
        <Key
            latin:keyLabel="ש"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ד" />
        <Key
            latin:keyLabel="ג" />
        <Key
            latin:keyLabel="כ" />
        <Key
            latin:keyLabel="ע" />
        <Key
            latin:keyLabel="י" />
        <Key
            latin:keyLabel="ח" />
        <Key
            latin:keyLabel="ל" />
        <Key
            latin:keyLabel="ך" />
        <Key
            latin:keyLabel="ף"
            latin:keyEdgeFlags="right" />
    </Row>
    <Row>
        <Spacer
            latin:horizontalGap="5%p" />
        <Key
            latin:keyLabel="ז"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ס" />
        <Key
            latin:keyLabel="ב" />
        <Key
            latin:keyLabel="ה" />
        <Key
            latin:keyLabel="נ" />
        <Key
            latin:keyLabel="מ" />
        <Key
            latin:keyLabel="צ" />
        <Key
            latin:keyLabel="ת" />
        <Key
            latin:keyLabel="ץ"
            latin:keyEdgeFlags="right" />
    </Row>
    <include latin:keyboardLayout="@xml/kbd_qwerty_row4" />
        latin:keyboardLayout="@xml/kbd_iw_rows" />
</Keyboard>
+136 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, 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"
>
    <include
        latin:keyboardLayout="@xml/kbd_key_styles" />
    <Row
        latin:keyWidth="7.49%p"
    >
        <Key
            latin:keyStyle="tabKeyStyle"
            latin:keyLabelOption="alignLeft"
            latin:keyWidth="7.949%p"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ض" />
        <Key
            latin:keyLabel="ص" />
        <Key
            latin:keyLabel="ث" />
        <Key
            latin:keyLabel="ق" />
        <Key
            latin:keyLabel="ف"
            latin:popupCharacters="ف,ڤ" />
        <Key
            latin:keyLabel="غ" />
        <Key
            latin:keyLabel="ع" />
        <Key
            latin:keyLabel="ه"
            latin:popupCharacters="ه,هـ" />
        <Key
            latin:keyLabel="خ" />
        <Key
            latin:keyLabel="ح" />
        <Key
            latin:keyLabel="ج"
            latin:popupCharacters="ج,چ" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="9.331%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <Row
        latin:keyWidth="7.49%p"
    >
        <Key
            latin:keyStyle="toSymbolKeyStyle"
            latin:keyLabelOption="alignLeft"
            latin:keyWidth="7.949%p"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ش" />
        <Key
            latin:keyLabel="س" />
        <Key
            latin:keyLabel="ي" />
        <Key
            latin:keyLabel="ب"
            latin:popupCharacters="ب,پ" />
        <Key
            latin:keyLabel="ل"
            latin:popupCharacters="ل,لا" />
        <Key
            latin:keyLabel="ا"
            latin:popupCharacters="ا,أ,إ,آ" />
        <Key
            latin:keyLabel="ت" />
        <Key
            latin:keyLabel="ن" />
        <Key
            latin:keyLabel="م" />
        <Key
            latin:keyLabel="ك"
            latin:popupCharacters="ك,گ" />
        <Key
            latin:keyLabel="ط" />
        <Key
            latin:keyStyle="returnKeyStyle"
            latin:keyWidth="8.593%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <Row
        latin:keyWidth="8.042%p"
    >
        <Key
            latin:keyLabel="ئ"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ء" />
        <Key
            latin:keyLabel="ؤ" />
        <Key
            latin:keyLabel="ر" />
        <Key
            latin:keyLabel="ذ" />
        <Key
            latin:keyLabel="ى" />
        <Key
            latin:keyLabel="ة" />
        <Key
            latin:keyLabel="و" />
        <Key
            latin:keyLabel="ز"
            latin:popupCharacters="ز,ژ" />
        <Key
            latin:keyLabel="ظ" />
        <Key
            latin:keyLabel="د" />
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="11.736%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <include latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge>
+130 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2011, 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"
>
    <include
        latin:keyboardLayout="@xml/kbd_key_styles" />
    <Row
        latin:keyWidth="8.272%p"
    >
        <Key
            latin:keyStyle="tabKeyStyle"
            latin:keyLabelOption="alignLeft"
            latin:keyWidth="7.949%p"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="," />
        <Key
            latin:keyLabel="." />
        <Key
            latin:keyLabel="ק" />
        <Key
            latin:keyLabel="ר" />
        <Key
            latin:keyLabel="א" />
        <Key
            latin:keyLabel="ט" />
        <Key
            latin:keyLabel="ו" />
        <Key
            latin:keyLabel="ן" />
        <Key
            latin:keyLabel="ם" />
        <Key
            latin:keyLabel="פ" />
        <Key
            latin:keyStyle="deleteKeyStyle"
            latin:keyWidth="9.331%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <Row
        latin:keyWidth="8.157%p"
    >
        <Key
            latin:keyStyle="toSymbolKeyStyle"
            latin:keyLabelOption="alignLeft"
            latin:keyWidth="10.167%p"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ש" />
        <Key
            latin:keyLabel="ד" />
        <Key
            latin:keyLabel="ג"
            latin:popupCharacters="ג,ג׳" />
        <Key
            latin:keyLabel="כ" />
        <Key
            latin:keyLabel="ע" />
        <Key
            latin:keyLabel="י"
            latin:popupCharacters="י,ײַ" />
        <Key
            latin:keyLabel="ח"
            latin:popupCharacters="ח,ח׳" />
        <Key
            latin:keyLabel="ל" />
        <Key
            latin:keyLabel="ך" />
        <Key
            latin:keyLabel="ף" />
        <Key
            latin:keyStyle="returnKeyStyle"
            latin:keyWidth="8.593%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <Row
        latin:keyWidth="8.042%p"
    >
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="15.192%p"
            latin:keyEdgeFlags="left" />
        <Key
            latin:keyLabel="ז"
            latin:popupCharacters="ז,ז׳" />
        <Key
            latin:keyLabel="ס" />
        <Key
            latin:keyLabel="ב" />
        <Key
            latin:keyLabel="ה" />
        <Key
            latin:keyLabel="נ" />
        <Key
            latin:keyLabel="מ" />
        <Key
            latin:keyLabel="צ"
            latin:popupCharacters="צ,צ׳" />
        <Key
            latin:keyLabel="ת"
            latin:popupCharacters="ת,ת׳" />
        <Key
            latin:keyLabel="ץ"
            latin:popupCharacters="ץ,ץ׳" />
        <Key
            latin:keyStyle="shiftKeyStyle"
            latin:keyWidth="12.530%p"
            latin:keyEdgeFlags="right" />
    </Row>
    <include latin:keyboardLayout="@xml/kbd_qwerty_row4" />
</merge>
Loading