From b0a229889971b8c7939b8fe8a9e79523a03bc128 Mon Sep 17 00:00:00 2001
From: ChristianGynnild <75206913+ChristianGynnild@users.noreply.github.com>
Date: Sat, 24 Sep 2022 11:44:01 +0200
Subject: [PATCH] Added Norwegian keyboard layout (#202)
---
res/values/arrays.xml | 2 ++
res/xml/method.xml | 1 +
res/xml/qwerty_no.xml | 37 ++++++++++++++++++++++++++++++++
srcs/juloo.keyboard2/Config.java | 1 +
4 files changed, 41 insertions(+)
create mode 100644 res/xml/qwerty_no.xml
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 2c967fb..797147e 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -8,6 +8,7 @@
- qwerty_es
- qwerty_ko
- qwerty_lv
+ - qwerty_no
- qwerty_sv_se
- qwerty_hu
- qwerty_tr
@@ -29,6 +30,7 @@
- QWERTY (Español)
- QWERTY (Korean)
- QWERTY (Latvian)
+ - QWERTY (Norwegian)
- QWERTY (Swedish)
- QWERTY (Hungarian)
- QWERTY (Türkçe)
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 542aef2..430b9c8 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -15,6 +15,7 @@
+
diff --git a/res/xml/qwerty_no.xml b/res/xml/qwerty_no.xml
new file mode 100644
index 0000000..35a3709
--- /dev/null
+++ b/res/xml/qwerty_no.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index 651ad06..fd226ed 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -257,6 +257,7 @@ final class Config
case "qwerty_pt": return R.xml.qwerty_pt;
case "qwerty_tr": return R.xml.qwerty_tr;
case "qwerty": return R.xml.qwerty;
+ case "qwerty_no": return R.xml.qwerty_no;
case "qwerty_sv_se": return R.xml.qwerty_sv_se;
case "qwertz_hu": return R.xml.qwertz_hu;
case "qwertz": return R.xml.qwertz;