forked from extern/Unexpected-Keyboard
Brazilian portuguese layout (#91)
* Providing a comprehensible Brazilian Portuguese keyboard layout removed cedille as it is already provided by an independent key; changed layout to correspond to the locale
This commit is contained in:
parent
d53ee811d9
commit
2dae2105b2
@ -4,6 +4,7 @@
|
|||||||
<item>system</item>
|
<item>system</item>
|
||||||
<item>azerty</item>
|
<item>azerty</item>
|
||||||
<item>qwerty</item>
|
<item>qwerty</item>
|
||||||
|
<item>qwerty_pt</item>
|
||||||
<item>qwerty_es</item>
|
<item>qwerty_es</item>
|
||||||
<item>qwerty_lv</item>
|
<item>qwerty_lv</item>
|
||||||
<item>qwerty_sv_se</item>
|
<item>qwerty_sv_se</item>
|
||||||
@ -16,6 +17,7 @@
|
|||||||
<item>@string/pref_layout_e_system</item>
|
<item>@string/pref_layout_e_system</item>
|
||||||
<item>AZERTY</item>
|
<item>AZERTY</item>
|
||||||
<item>QWERTY</item>
|
<item>QWERTY</item>
|
||||||
|
<item>QWERTY (Brasileiro)</item>
|
||||||
<item>QWERTY (Español)</item>
|
<item>QWERTY (Español)</item>
|
||||||
<item>QWERTY (Latvian)</item>
|
<item>QWERTY (Latvian)</item>
|
||||||
<item>QWERTY (Swedish)</item>
|
<item>QWERTY (Swedish)</item>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<subtype android:label="%s" android:languageTag="fr" android:imeSubtypeLocale="fr_FR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=azerty,extra_keys=accent_grave|accent_aigu|accent_circonflexe|accent_cedille|accent_trema|€"/>
|
<subtype android:label="%s" android:languageTag="fr" android:imeSubtypeLocale="fr_FR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=azerty,extra_keys=accent_grave|accent_aigu|accent_circonflexe|accent_cedille|accent_trema|€"/>
|
||||||
<subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_grave|accent_aigu|€"/>
|
<subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_grave|accent_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=accent_caron|accent_cedille|accent_macron|€"/>
|
<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=accent_caron|accent_cedille|accent_macron|€"/>
|
||||||
<subtype android:label="%s" android:languageTag="pt" android:imeSubtypeLocale="pt_BR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_aigu|accent_cedille|accent_circonflexe|accent_grave|accent_tilde|€"/>
|
<subtype android:label="%s" android:languageTag="pt" android:imeSubtypeLocale="pt_BR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_pt,extra_keys=accent_aigu|accent_cedille|accent_circonflexe|accent_grave|accent_tilde|€"/>
|
||||||
<subtype android:label="%s" android:languageTag="ru" android:imeSubtypeLocale="ru_RU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=ru_jcuken"/>
|
<subtype android:label="%s" android:languageTag="ru" android:imeSubtypeLocale="ru_RU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=ru_jcuken"/>
|
||||||
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_sv_se,extra_keys=accent_aigu|accent_trema|accent_ring|€"/>
|
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_sv_se,extra_keys=accent_aigu|accent_trema|accent_ring|€"/>
|
||||||
</input-method>
|
</input-method>
|
||||||
|
38
res/xml/qwerty_pt.xml
Normal file
38
res/xml/qwerty_pt.xml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<keyboard>
|
||||||
|
<row>
|
||||||
|
<key key0="q" key1="esc" key2="1" key3="~" key4="!"/>
|
||||||
|
<key key0="w" key2="2" key3="\@"/>
|
||||||
|
<key key0="e" key1="£" key2="3" key3="\#" key4="€"/>
|
||||||
|
<key key0="r" key2="4" key3="$"/>
|
||||||
|
<key key0="t" key2="5" key3="%"/>
|
||||||
|
<key key0="y" key1="accent_caron" key2="6" key3="^" key4="accent_trema"/>
|
||||||
|
<key key0="u" key2="7" key3="&"/>
|
||||||
|
<key key0="i" key2="8" key3="*"/>
|
||||||
|
<key key0="o" key2="9" key3="(" key4=")"/>
|
||||||
|
<key key0="p" key2="0" key3="\\" key4="|"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<key key0="a" key1="tab" key2="'" key3="`" key4="""/>
|
||||||
|
<key key0="s" key1="accent_ring" key2="accent_caron" key3="ß" key4="accent_cedille"/>
|
||||||
|
<key key0="d"/>
|
||||||
|
<key key0="f"/>
|
||||||
|
<key key0="g"/>
|
||||||
|
<key key0="h"/>
|
||||||
|
<key key0="j" key1="-" key2="=" key4="+" key3="_"/>
|
||||||
|
<key key0="k" key1="accent_grave" key2="accent_aigu" key3="accent_tilde" key4="accent_circonflexe"/>
|
||||||
|
<key key0="l" key1="[" key2="]" key3="{" key4="}"/>
|
||||||
|
<key key0="ç"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<key width="1.5" key0="shift"/>
|
||||||
|
<key key0="z"/>
|
||||||
|
<key key0="x"/>
|
||||||
|
<key key0="c"/>
|
||||||
|
<key key0="v"/>
|
||||||
|
<key key0="b"/>
|
||||||
|
<key key0="n" key1="<" key2=">" key3="," key4="."/>
|
||||||
|
<key key0="m" key1=":" key2=";" key3="/" key4="\?"/>
|
||||||
|
<key width="1.5" key0="backspace" key2="delete"/>
|
||||||
|
</row>
|
||||||
|
</keyboard>
|
@ -205,6 +205,7 @@ final class Config
|
|||||||
case "dvorak": return R.xml.dvorak;
|
case "dvorak": return R.xml.dvorak;
|
||||||
case "qwerty_es": return R.xml.qwerty_es;
|
case "qwerty_es": return R.xml.qwerty_es;
|
||||||
case "qwerty_lv": return R.xml.qwerty_lv;
|
case "qwerty_lv": return R.xml.qwerty_lv;
|
||||||
|
case "qwerty_pt": return R.xml.qwerty_pt;
|
||||||
case "qwerty": return R.xml.qwerty;
|
case "qwerty": return R.xml.qwerty;
|
||||||
case "qwerty_sv_se": return R.xml.qwerty_sv_se;
|
case "qwerty_sv_se": return R.xml.qwerty_sv_se;
|
||||||
case "qwertz": return R.xml.qwertz;
|
case "qwertz": return R.xml.qwertz;
|
||||||
|
Loading…
Reference in New Issue
Block a user