From 2dae2105b2690fffb862ac16d843331d2f752926 Mon Sep 17 00:00:00 2001 From: igorSilCar Date: Tue, 15 Mar 2022 17:05:16 -0300 Subject: [PATCH] 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 --- res/values/arrays.xml | 2 ++ res/xml/method.xml | 2 +- res/xml/qwerty_pt.xml | 38 ++++++++++++++++++++++++++++++++ srcs/juloo.keyboard2/Config.java | 1 + 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 res/xml/qwerty_pt.xml diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 26d807e..3eae155 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -4,6 +4,7 @@ system azerty qwerty + qwerty_pt qwerty_es qwerty_lv qwerty_sv_se @@ -16,6 +17,7 @@ @string/pref_layout_e_system AZERTY QWERTY + QWERTY (Brasileiro) QWERTY (Español) QWERTY (Latvian) QWERTY (Swedish) diff --git a/res/xml/method.xml b/res/xml/method.xml index 015aaba..4632c64 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -8,7 +8,7 @@ - + diff --git a/res/xml/qwerty_pt.xml b/res/xml/qwerty_pt.xml new file mode 100644 index 0000000..139cbde --- /dev/null +++ b/res/xml/qwerty_pt.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index e78a45a..aa583de 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -205,6 +205,7 @@ final class Config case "dvorak": return R.xml.dvorak; case "qwerty_es": return R.xml.qwerty_es; case "qwerty_lv": return R.xml.qwerty_lv; + case "qwerty_pt": return R.xml.qwerty_pt; case "qwerty": return R.xml.qwerty; case "qwerty_sv_se": return R.xml.qwerty_sv_se; case "qwertz": return R.xml.qwertz;