From dc46c14f9cdc06ef09826c5d89e6d529effb9cf8 Mon Sep 17 00:00:00 2001 From: dslul Date: Sat, 24 Oct 2020 10:01:57 +0200 Subject: [PATCH] add Arabic PC layout --- app/build.gradle | 2 +- app/src/main/res/values/donottranslate.xml | 3 + .../main/res/xml-sw600dp/rows_arabic_pc.xml | 48 ++++++++++++ app/src/main/res/xml/kbd_arabic_pc.xml | 26 +++++++ .../res/xml/keyboard_layout_set_arabic_pc.xml | 44 +++++++++++ app/src/main/res/xml/method.xml | 9 +++ app/src/main/res/xml/rowkeys_arabic1_pc.xml | 78 +++++++++++++++++++ app/src/main/res/xml/rowkeys_arabic2_pc.xml | 56 +++++++++++++ app/src/main/res/xml/rowkeys_arabic3_pc.xml | 28 +++++++ app/src/main/res/xml/rows_arabic_pc.xml | 57 ++++++++++++++ 10 files changed, 350 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/xml-sw600dp/rows_arabic_pc.xml create mode 100644 app/src/main/res/xml/kbd_arabic_pc.xml create mode 100644 app/src/main/res/xml/keyboard_layout_set_arabic_pc.xml create mode 100644 app/src/main/res/xml/rowkeys_arabic1_pc.xml create mode 100644 app/src/main/res/xml/rowkeys_arabic2_pc.xml create mode 100644 app/src/main/res/xml/rowkeys_arabic3_pc.xml create mode 100644 app/src/main/res/xml/rows_arabic_pc.xml diff --git a/app/build.gradle b/app/build.gradle index 54608a36d..3981cdd6a 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { applicationId "org.dslul.openboard.inputmethod.latin" minSdkVersion 19 targetSdkVersion 30 - versionCode 13 + versionCode 14 versionName '1.4.2' } diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml index bf2261de8..ae5aecf1a 100644 --- a/app/src/main/res/values/donottranslate.xml +++ b/app/src/main/res/values/donottranslate.xml @@ -84,6 +84,9 @@ %s (BEKL) + + %s (PC) + en_US:TrySuppressingImeSwitcher,AsciiCapable,SupportTouchPositionCorrection,EmojiCapable diff --git a/app/src/main/res/xml-sw600dp/rows_arabic_pc.xml b/app/src/main/res/xml-sw600dp/rows_arabic_pc.xml new file mode 100644 index 000000000..26d087a42 --- /dev/null +++ b/app/src/main/res/xml-sw600dp/rows_arabic_pc.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/kbd_arabic_pc.xml b/app/src/main/res/xml/kbd_arabic_pc.xml new file mode 100644 index 000000000..c820c16c1 --- /dev/null +++ b/app/src/main/res/xml/kbd_arabic_pc.xml @@ -0,0 +1,26 @@ + + + + + + diff --git a/app/src/main/res/xml/keyboard_layout_set_arabic_pc.xml b/app/src/main/res/xml/keyboard_layout_set_arabic_pc.xml new file mode 100644 index 000000000..7d0787bc2 --- /dev/null +++ b/app/src/main/res/xml/keyboard_layout_set_arabic_pc.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/xml/method.xml b/app/src/main/res/xml/method.xml index 9bbf4b8f4..38b861ee5 100644 --- a/app/src/main/res/xml/method.xml +++ b/app/src/main/res/xml/method.xml @@ -24,6 +24,7 @@ keyboard_locale: script_name/keyboard_layout_set af: Afrikaans/qwerty ar: Arabic/arabic + ar: Arabic/arabic_pc az_AZ: Azerbaijani (Azerbaijan)/qwerty be_BY: Belarusian (Belarus)/east_slavic bg: Bulgarian/bulgarian @@ -161,6 +162,14 @@ android:imeSubtypeExtraValue="SupportTouchPositionCorrection,EmojiCapable" android:isAsciiCapable="false" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/rowkeys_arabic2_pc.xml b/app/src/main/res/xml/rowkeys_arabic2_pc.xml new file mode 100644 index 000000000..a690019ae --- /dev/null +++ b/app/src/main/res/xml/rowkeys_arabic2_pc.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/rowkeys_arabic3_pc.xml b/app/src/main/res/xml/rowkeys_arabic3_pc.xml new file mode 100644 index 000000000..050dfb8db --- /dev/null +++ b/app/src/main/res/xml/rowkeys_arabic3_pc.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/xml/rows_arabic_pc.xml b/app/src/main/res/xml/rows_arabic_pc.xml new file mode 100644 index 000000000..96e2ad7a5 --- /dev/null +++ b/app/src/main/res/xml/rows_arabic_pc.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + +