diff options
| author | Eyad Aboulouz <eyad.aboulouz@gmail.com> | 2011-04-13 01:49:29 -0400 |
|---|---|---|
| committer | Eyad Aboulouz <eyad.aboulouz@gmail.com> | 2011-04-13 02:07:33 -0400 |
| commit | 5d06f6fe8d35b6e2934454d25dba4e6f20bc5888 (patch) | |
| tree | eb7f64a5625010116d677cbb623571ce34ae9143 | |
| parent | f84d3d2ea99252504d3ac6c365e8134665cf77c3 (diff) | |
| download | android_packages_inputmethods_LatinIME-5d06f6fe8d35b6e2934454d25dba4e6f20bc5888.tar.gz android_packages_inputmethods_LatinIME-5d06f6fe8d35b6e2934454d25dba4e6f20bc5888.tar.bz2 android_packages_inputmethods_LatinIME-5d06f6fe8d35b6e2934454d25dba4e6f20bc5888.zip | |
Adds a full Arabic layout keyboard
Change-Id: I2bf0f4ef229b82616e2b017183aa22f43e94c356
| -rw-r--r-- | java/res/values-ar/donottranslate.xml | 29 | ||||
| -rw-r--r-- | java/res/values-ar/strings.xml | 4 | ||||
| -rw-r--r-- | java/res/xml-ar/ar_popup_comma.xml | 39 | ||||
| -rw-r--r-- | java/res/xml-ar/ar_popup_punctuation.xml | 68 | ||||
| -rw-r--r-- | java/res/xml-ar/ar_popup_smileys.xml | 89 | ||||
| -rw-r--r-- | java/res/xml-ar/kbd_qwerty.xml | 484 | ||||
| -rw-r--r-- | java/res/xml-ar/kbd_qwerty_black.xml | 427 | ||||
| -rw-r--r-- | java/res/xml-ar/kbd_symbols.xml | 222 | ||||
| -rw-r--r-- | java/res/xml-ar/kbd_symbols_black.xml | 210 |
9 files changed, 1570 insertions, 2 deletions
diff --git a/java/res/values-ar/donottranslate.xml b/java/res/values-ar/donottranslate.xml new file mode 100644 index 000000000..365841f3f --- /dev/null +++ b/java/res/values-ar/donottranslate.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2009, 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. +*/ +--> +<!-- By Eyad Aboulouz --> +<resources xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Symbols that are commonly considered word separators in this language --> + <string name="word_separators">.\u0009\u0020\,;:!?،؟؛\u061F\'\n()[]*&@{}/<>_+=|\u0022</string> + <!-- Symbols that are sentence separators, for purposes of making it hug the last sentence. --> + <string name="sentence_separators">.،!؟)</string> + <!-- Symbols that are suggested between words --> + <string name="suggested_punctuations">!؟،\u0022\u0027:()-/@_</string> +</resources>
\ No newline at end of file diff --git a/java/res/values-ar/strings.xml b/java/res/values-ar/strings.xml index 89b5ef365..8fc52f643 100644 --- a/java/res/values-ar/strings.xml +++ b/java/res/values-ar/strings.xml @@ -79,8 +79,8 @@ <string name="label_next_key" msgid="362972844525672568">"التالي"</string> <string name="label_done_key" msgid="2441578748772529288">"تم"</string> <string name="label_send_key" msgid="2815056534433717444">"إرسال"</string> - <string name="label_symbol_key" msgid="6175820506864489453">"?123"</string> - <string name="label_phone_key" msgid="4275497665515080551">"123"</string> + <string name="label_symbol_key" msgid="6175820506864489453">"٣٢١؟"</string> + <string name="label_phone_key" msgid="4275497665515080551">"٣٢١"</string> <string name="label_alpha_key" msgid="8864943487292437456">"ب ت ث"</string> <string name="label_alt_key" msgid="2846315350346694811">"ALT"</string> <string name="voice_warning_title" msgid="4419354150908395008">"الإدخال الصوتي"</string> diff --git a/java/res/xml-ar/ar_popup_comma.xml b/java/res/xml-ar/ar_popup_comma.xml new file mode 100644 index 000000000..b0f1a5335 --- /dev/null +++ b/java/res/xml-ar/ar_popup_comma.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2010, 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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="0px" + android:keyHeight="@dimen/popup_key_height" +> + <Row + android:rowEdgeFlags="top|bottom" + > + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_keyboard_settings" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="،" + android:keyEdgeFlags="right" /> + </Row> +</Keyboard> diff --git a/java/res/xml-ar/ar_popup_punctuation.xml b/java/res/xml-ar/ar_popup_punctuation.xml new file mode 100644 index 000000000..62684e1b7 --- /dev/null +++ b/java/res/xml-ar/ar_popup_punctuation.xml @@ -0,0 +1,68 @@ +<?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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="0px" + android:keyHeight="@dimen/popup_key_height" +> + <Row + android:rowEdgeFlags="top" + > + <Key + android:keyLabel=":" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="/" /> + <Key + android:keyLabel="&" /> + <Key + android:keyLabel="(" /> + <Key + android:keyLabel=")" /> + <Key + android:keyLabel="-" /> + <Key + android:keyLabel="+" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:rowEdgeFlags="bottom" + > + <Key + android:keyLabel="؛" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="\@" /> + <Key + android:keyLabel="\'" /> + <Key + android:keyLabel=""" /> + <Key + android:keyLabel="؟" /> + <Key + android:keyLabel="!" /> + <Key + android:keyLabel="،" + android:keyEdgeFlags="right" /> + </Row> +</Keyboard> diff --git a/java/res/xml-ar/ar_popup_smileys.xml b/java/res/xml-ar/ar_popup_smileys.xml new file mode 100644 index 000000000..27a9b2f65 --- /dev/null +++ b/java/res/xml-ar/ar_popup_smileys.xml @@ -0,0 +1,89 @@ +<?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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="15%p" + android:horizontalGap="0px" + android:verticalGap="0px" + android:keyHeight="@dimen/popup_key_height" +> + <Row + android:rowEdgeFlags="top" + > + <Key + android:keyLabel="(-:" + android:keyOutputText=":-) " + android:keyEdgeFlags="left" /> + <Key + android:keyLabel=")-:" + android:keyOutputText=":-( " /> + <Key + android:keyLabel="(-;" + android:keyOutputText=";-) " /> + <Key + android:keyLabel="Ԁ-:" + android:keyOutputText=":-Ԁ " /> + <Key + android:keyLabel="O-=" + android:keyOutputText="=-O " + android:keyEdgeFlags="right" /> + </Row> + <Row> + <Key + android:keyLabel="*-:" + android:keyOutputText=":-* " + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="O:" + android:keyOutputText=":O " /> + <Key + android:keyLabel="(-B" + android:keyOutputText="B-) " /> + <Key + android:keyLabel="$-:" + android:keyOutputText=":-$ " /> + <Key + android:keyLabel="3>" + android:keyOutputText="<3 " + android:keyEdgeFlags="right" /> + </Row> + <Row + android:rowEdgeFlags="bottom" + > + <Key + android:keyLabel="]-:" + android:keyOutputText=":-[ " + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="(-:O" + android:keyOutputText="O:-) " /> + <Key + android:keyLabel="\\-:" + android:keyOutputText=":-\\ " /> + <Key + android:keyLabel=")':" + android:keyOutputText=":'( " /> + <Key + android:keyLabel="D-:" + android:keyOutputText=":-D " + android:keyEdgeFlags="right" /> + </Row> +</Keyboard> diff --git a/java/res/xml-ar/kbd_qwerty.xml b/java/res/xml-ar/kbd_qwerty.xml new file mode 100644 index 000000000..b30711ed5 --- /dev/null +++ b/java/res/xml-ar/kbd_qwerty.xml @@ -0,0 +1,484 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2010, 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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="@dimen/key_bottom_gap" + android:keyHeight="@dimen/key_height" +> + <Row> + <Key + android:keyLabel="ض" + 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="ع" /> + <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:keyLabel="ش" + android:keyEdgeFlags="left" /> + <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="ت" /> + <Key + android:keyLabel="ن" /> + <Key + android:keyLabel="م" /> + <Key + android:keyLabel="ك" + android:keyEdgeFlags="right" /> + </Row> + <Row> + <Key + android:keyLabel="ظ" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="؟،؛" + android:horizontalGap="2.5%p" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="ط" /> + <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:codes="@integer/key_delete" + android:keyIcon="@drawable/sym_keyboard_delete" + android:iconPreview="@drawable/sym_keyboard_feedback_delete" + android:keyWidth="15%p" + android:isRepeatable="true" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_normal" + android:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_popup_punctuation" + android:isModifier="true" /> + <Key + android:keyLabel="(-:" + android:keyOutputText=":-) " + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_smileys" + android:keyWidth="20%p" + android:isModifier="true" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_webentry" + android:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_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:keyWidth="10%p" + 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/ar_popup_punctuation" + android:isModifier="true" /> + <Key + android:keyLabel="(-:" + android:keyOutputText=":-) " + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_smileys" + android:keyWidth="25%p" + android:isModifier="true" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_webentry_with_settings_key" + android:keyWidth="10%p" + 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/ar_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> diff --git a/java/res/xml-ar/kbd_qwerty_black.xml b/java/res/xml-ar/kbd_qwerty_black.xml new file mode 100644 index 000000000..715520df5 --- /dev/null +++ b/java/res/xml-ar/kbd_qwerty_black.xml @@ -0,0 +1,427 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2010, 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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="@dimen/key_bottom_gap" + android:keyHeight="@dimen/key_height" +> + <Row> + <Key + android:keyLabel="ض" + 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="ع" /> + <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:keyLabel="ش" + android:keyEdgeFlags="left" /> + <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="ت" /> + <Key + android:keyLabel="ن" /> + <Key + android:keyLabel="م" /> + <Key + android:keyLabel="ك" + android:keyEdgeFlags="right" /> + </Row> + <Row> + <Key + android:keyLabel="ظ" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="؟،؛" + android:horizontalGap="2.5%p" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="ط" /> + <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:codes="@integer/key_delete" + android:keyIcon="@drawable/sym_bkeyboard_delete" + android:iconPreview="@drawable/sym_keyboard_feedback_delete" + android:keyWidth="15%p" + android:isRepeatable="true" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_normal" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="20%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_url" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="20%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_email" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="20%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_im" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="20%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:keyLabel="(-:" + android:keyOutputText=":-) " + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_smileys" + android:keyWidth="20%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_webentry" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="20%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:codes="@integer/key_tab" + android:keyIcon="@drawable/sym_bkeyboard_tab" + android:iconPreview="@drawable/sym_keyboard_feedback_tab" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_normal_with_settings_key" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="15%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_bkeyboard_settings" + android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="25%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_url_with_settings_key" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="15%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_bkeyboard_settings" + android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="25%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_email_with_settings_key" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="15%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_bkeyboard_settings" + android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="25%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_im_with_settings_key" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="15%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_bkeyboard_settings" + android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:keyLabel="(-:" + android:keyOutputText=":-) " + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_smileys" + android:keyWidth="25%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_webentry_with_settings_key" + android:keyWidth="10%p" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_symbol_key" + android:keyWidth="15%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_bkeyboard_settings" + android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:codes="@integer/key_tab" + android:keyIcon="@drawable/sym_bkeyboard_tab" + android:iconPreview="@drawable/sym_keyboard_feedback_tab" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="15%p" + android:keyEdgeFlags="right" /> + </Row> +</Keyboard> diff --git a/java/res/xml-ar/kbd_symbols.xml b/java/res/xml-ar/kbd_symbols.xml new file mode 100644 index 000000000..47ce8a6c7 --- /dev/null +++ b/java/res/xml-ar/kbd_symbols.xml @@ -0,0 +1,222 @@ +<?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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="@dimen/key_bottom_gap" + android:keyHeight="@dimen/key_height" +> + <Row + android:rowEdgeFlags="top" + > + <Key + android:keyLabel="١" + android:keyEdgeFlags="left" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="1" /> + <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_template" + android:popupCharacters="9" /> + <Key + android:keyLabel="٠" + android:keyEdgeFlags="right" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="0" /> + </Row> + <Row> + <Key + android:keyLabel="\@" + android:keyEdgeFlags="left" /> + <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="\u0026" /> + <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="[{\u003C" /> + <Key + android:keyLabel=")" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="]}\u003E" + android:keyEdgeFlags="right" /> + </Row> + <Row> + <Key + android:codes="@integer/key_shift" + android:keyLabel="@string/label_alt_key" + android:keyWidth="15%p" + android:isModifier="true" + android:isSticky="true" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="!" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="¡" /> + <Key + android:keyLabel="\u0022" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="“”«»˝" /> + <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="/" /> + <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="15%p" + android:isModifier="true" + android:isRepeatable="true" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_symbols" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_alpha_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/ar_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_symbols_with_settings_key" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_alpha_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/ar_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> +</Keyboard> diff --git a/java/res/xml-ar/kbd_symbols_black.xml b/java/res/xml-ar/kbd_symbols_black.xml new file mode 100644 index 000000000..9efb9291e --- /dev/null +++ b/java/res/xml-ar/kbd_symbols_black.xml @@ -0,0 +1,210 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2010, 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. +*/ +--> +<!-- By Eyad Aboulouz --> +<Keyboard + xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:horizontalGap="0px" + android:verticalGap="@dimen/key_bottom_gap" + android:keyHeight="@dimen/key_height" +> + <Row + android:rowEdgeFlags="top" + > + <Key + android:keyLabel="١" + android:keyEdgeFlags="left" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="1" /> + <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_template" + android:popupCharacters="9" /> + <Key + android:keyLabel="٠" + android:keyEdgeFlags="right" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="0" /> + </Row> + <Row> + <Key + android:keyLabel="\@" + android:keyEdgeFlags="left" /> + <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="\u0026" /> + <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="[{\u003C" /> + <Key + android:keyLabel=")" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="]}\u003E" + android:keyEdgeFlags="right" /> + </Row> + <Row> + <Key + android:codes="@integer/key_shift" + android:keyLabel="@string/label_alt_key" + android:keyWidth="15%p" + android:isModifier="true" + android:isSticky="true" + android:keyEdgeFlags="left" /> + <Key + android:keyLabel="!" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="¡" /> + <Key + android:keyLabel="\u0022" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="“”«»˝" /> + <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="/" /> + <Key + android:keyLabel="؟" + android:popupKeyboard="@xml/kbd_popup_template" + android:popupCharacters="\?¿" /> + <Key + android:codes="@integer/key_delete" + android:keyIcon="@drawable/sym_bkeyboard_delete" + android:iconPreview="@drawable/sym_keyboard_feedback_delete" + android:keyWidth="15%p" + android:isRepeatable="true" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_symbols" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_alpha_key" + android:keyWidth="20%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="40%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="20%p" + android:keyEdgeFlags="right" /> + </Row> + <Row + android:keyboardMode="@+id/mode_symbols_with_settings_key" + android:rowEdgeFlags="bottom" + > + <Key + android:codes="@integer/key_symbol" + android:keyLabel="@string/label_alpha_key" + android:keyWidth="15%p" + android:keyEdgeFlags="left" /> + <Key + android:codes="@integer/key_settings" + android:keyIcon="@drawable/sym_bkeyboard_settings" + android:iconPreview="@drawable/sym_keyboard_feedback_settings" /> + <Key + android:codes="@integer/key_f1" /> + <Key + android:codes="@integer/key_space" + android:keyIcon="@drawable/sym_bkeyboard_space" + android:iconPreview="@drawable/sym_keyboard_feedback_space" + android:keyWidth="30%p" /> + <Key + android:keyLabel="." + android:keyIcon="@drawable/hint_popup" + android:popupKeyboard="@xml/ar_popup_punctuation" /> + <Key + android:codes="@integer/key_return" + android:keyIcon="@drawable/sym_bkeyboard_return" + android:iconPreview="@drawable/sym_keyboard_feedback_return" + android:keyWidth="25%p" + android:keyEdgeFlags="right" /> + </Row> +</Keyboard> |
