diff options
| -rw-r--r-- | res/values/arrays.xml | 2 | ||||
| -rw-r--r-- | res/xml/local_bgph1.xml | 44 | ||||
| -rw-r--r-- | res/xml/method.xml | 1 | ||||
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 1 |
4 files changed, 48 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index bce6521..bcc8576 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -6,6 +6,7 @@ <item>qwerty</item> <item>qwerty_lv</item> <item>qwertz</item> + <item>bgph1</item> </string-array> <string-array name="pref_layout_entries"> <item>@string/pref_layout_e_system</item> @@ -13,6 +14,7 @@ <item>QWERTY</item> <item>QWERTY (Latvian)</item> <item>QWERTZ</item> + <item>Bulgarian (Phonetic Traditional)</item> </string-array> <string-array name="pref_accents_entries"> <item>@string/pref_accents_e_all_installed</item> diff --git a/res/xml/local_bgph1.xml b/res/xml/local_bgph1.xml new file mode 100644 index 0000000..7ad309b --- /dev/null +++ b/res/xml/local_bgph1.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<keyboard> + <row> + <key key0="я" key1="esc" key2="1" key3="ч" key4="!"/> + <key key0="в" key2="2" key3="\@"/> + <key key0="е" key2="3" key3="\#" key4="№"/> + <key key0="р" key2="4" key3="$"/> + <key key0="т" key2="5" key3="%"/> + <key key0="ъ" key2="6" key3="^" key4="€"/> + <key key0="у" key2="7" key3="&" key4="§"/> + <key key0="и" key2="8" key3="*"/> + <key key0="о" key1="accent_macron" key2="9" key3="(" key4=")"/> + <key key0="п" key2="0" key3="ш" key4="щ"/> + </row> + <row> + <key shift="0.5" key0="а" key1="tab" key2="`"/> + <key key0="с"/> + <key key0="д" key1="accent_grave" key3="accent_aigu"/> + <key key0="ф"/> + <key key0="г" key1="accent_caron" key2="-" key3="_"/> + <key key0="х" key2="=" key3="+"/> + <key key0="й" key1="accent_trema" key2="accent_circonflexe" key4="}" key3="{"/> + <key key0="к" key3="[" key4="]"/> + <key key0="л" key2="|" key3="\\"/> + </row> + <row> + <key width="1.5" key0="shift"/> + <key key0="з"/> + <key key0="ь" key1="accent_ring" key3="ѝ"/> + <key key0="ц" key1="accent_cedille" key2="<" key3="."/> + <key key0="ж" key2=">" key3=","/> + <key key0="б" key2="\?" key3="/"/> + <key key0="н" key1="accent_tilde" key2=":" key3=";"/> + <key key0="м" key2=""" key3="'"/> + <key width="1.5" key0="backspace" key2="delete"/> + </row> + <row height="0.95"> + <key width="1.8" key0="ctrl" key3="switch_numeric"/> + <key width="1.2" key0="alt" key1="fn" key2="change_method" key3="switch_emoji" key4="config"/> + <key width="4.0" key0="space"/> + <key width="1.2" key1="up" key2="right" key3="left" key4="down"/> + <key width="1.8" key0="enter" key2="action"/> + </row> +</keyboard> diff --git a/res/xml/method.xml b/res/xml/method.xml index 739dd7c..48b0900 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -7,4 +7,5 @@ <subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=grave|aigu"/> <subtype android:label="%s" android:languageTag="lv" android:imeSubtypeLocale="lv_LV" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_lv,extra_keys=caron|cedille|macron"/> <subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=aigu|trema|ring"/> + <subtype android:label="%s" android:languageTag="bg" android:imeSubtypeLocale="bg_BG" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=bgph1"/> </input-method> diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index e730986..42f983e 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -112,6 +112,7 @@ final class Config case "qwerty": return R.xml.qwerty; case "qwerty_lv": return R.xml.qwerty_lv; case "qwertz": return R.xml.qwertz; + case "bgph1": return R.xml.local_bgph1; case "system": default: return -1; } } |
