| <?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. |
| ** |
| ** |
| ** Based on Yahya Hamidaddin's layout as distributed under Apache 2.0 license: |
| ** http://code.google.com/p/softkeyboard/source/browse/trunk/LanguagePacks/Arabic/res/xml/arabic_qwerty.xml |
| */ |
| --> |
| |
| <Keyboard |
| xmlns:android="http://schemas.android.com/apk/res/org.pocketworkstation.pckeyboard" |
| android:keyWidth="10%p" |
| android:horizontalGap="0px" |
| android:verticalGap="@dimen/key_bottom_gap" |
| > |
| <Row |
| android:rowEdgeFlags="top" |
| > |
| <Key |
| android:keyLabel="ض" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="1ًٌٍَُِّْ" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:keyLabel="ص" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="2" /> |
| <Key |
| android:keyLabel="ق" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="3" /> |
| <Key |
| android:keyLabel="ف" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="4ڤ" /> |
| <Key |
| android:keyLabel="غ" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="5" /> |
| <Key |
| android:keyLabel="ع" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="6" /> |
| <Key |
| android:keyLabel="ه" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="7" /> |
| <Key |
| android:keyLabel="خ" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="8" /> |
| <Key |
| android:keyLabel="ح" |
| android:popupKeyboard="@xml/kbd_popup_narrow_template" |
| android:popupCharacters="9" /> |
| <Key |
| android:keyLabel="ج" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="0چ" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row> |
| <Key |
| android:keyLabel="ش" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="" |
| android:keyEdgeFlags="left" /> |
| <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:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="پ" /> |
| <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:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="" /> |
| <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:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="گ" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row> |
| <Key |
| android:keyLabel="ظ" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="؟،؛" |
| android:keyEdgeFlags="left" /> |
| <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:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="" /> |
| <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:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="ؤ" /> |
| <Key |
| android:keyLabel="ة" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="" /> |
| <Key |
| android:keyLabel="ث" |
| android:popupKeyboard="@xml/kbd_popup_template" |
| android:popupCharacters="" /> |
| <Key |
| android:codes="@integer/key_delete" |
| android:keyIcon="@drawable/sym_keyboard_delete" |
| android:iconPreview="@drawable/sym_keyboard_feedback_delete" |
| android:keyWidth="10%p" |
| android:isModifier="true" |
| android:isRepeatable="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_normal" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="40%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_url" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="40%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_email" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="40%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_im" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="40%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel=":-)" |
| android:keyOutputText=":-) " |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_smileys" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_webentry" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="30%p" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_tab" |
| android:keyIcon="@drawable/sym_keyboard_tab" |
| android:iconPreview="@drawable/sym_keyboard_feedback_tab" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="20%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_normal_with_settings_key" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="15%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_settings" |
| android:keyIcon="@drawable/sym_keyboard_settings" |
| android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="30%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="25%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_url_with_settings_key" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="15%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_settings" |
| android:keyIcon="@drawable/sym_keyboard_settings" |
| android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="30%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="25%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_email_with_settings_key" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="15%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_settings" |
| android:keyIcon="@drawable/sym_keyboard_settings" |
| android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="30%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="25%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_im_with_settings_key" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="15%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_settings" |
| android:keyIcon="@drawable/sym_keyboard_settings" |
| android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="30%p" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel=":-)" |
| android:keyOutputText=":-) " |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_smileys" |
| android:keyWidth="25%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| <Row |
| android:keyboardMode="@+id/mode_webentry_with_settings_key" |
| android:rowEdgeFlags="bottom" |
| > |
| <Key |
| android:codes="@integer/key_symbol" |
| android:keyLabel="@string/label_symbol_key" |
| android:keyWidth="15%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="left" /> |
| <Key |
| android:codes="@integer/key_settings" |
| android:keyIcon="@drawable/sym_keyboard_settings" |
| android:iconPreview="@drawable/sym_keyboard_feedback_settings" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_f1" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_space" |
| android:keyIcon="@drawable/sym_keyboard_space" |
| android:iconPreview="@drawable/sym_keyboard_feedback_space" |
| android:keyWidth="30%p" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_tab" |
| android:keyIcon="@drawable/sym_keyboard_tab" |
| android:iconPreview="@drawable/sym_keyboard_feedback_tab" |
| android:isModifier="true" /> |
| <Key |
| android:keyLabel="." |
| android:keyIcon="@drawable/hint_popup" |
| android:popupKeyboard="@xml/popup_punctuation" |
| android:isModifier="true" /> |
| <Key |
| android:codes="@integer/key_return" |
| android:keyIcon="@drawable/sym_keyboard_return" |
| android:iconPreview="@drawable/sym_keyboard_feedback_return" |
| android:keyWidth="15%p" |
| android:isModifier="true" |
| android:keyEdgeFlags="right" /> |
| </Row> |
| </Keyboard> |