From 88e21758bc9a4c80b7d66eae01deef34b9dd3c3f Mon Sep 17 00:00:00 2001
From: Edgars
Date: Wed, 19 Jan 2022 10:44:50 +0200
Subject: Add Latvian specific QWERTY layout
A customised Latvian specific QWERTY layout (QWERTY (Latvian)) was added
to access all Latvian diacritic characters with a swipe.
Additionally caron, cedille and macron accents were enabled for this
layout.
---
res/values/arrays.xml | 2 ++
res/xml/method.xml | 4 ++--
res/xml/qwerty_lv.xml | 44 ++++++++++++++++++++++++++++++++++++++++
srcs/juloo.keyboard2/Config.java | 1 +
4 files changed, 49 insertions(+), 2 deletions(-)
create mode 100644 res/xml/qwerty_lv.xml
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 451cbbc..bce6521 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -4,12 +4,14 @@
- system
- azerty
- qwerty
+ - qwerty_lv
- qwertz
- @string/pref_layout_e_system
- AZERTY
- QWERTY
+ - QWERTY (Latvian)
- QWERTZ
diff --git a/res/xml/method.xml b/res/xml/method.xml
index d7e5147..739dd7c 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -1,10 +1,10 @@
-
+
-
+
diff --git a/res/xml/qwerty_lv.xml b/res/xml/qwerty_lv.xml
new file mode 100644
index 0000000..c073f6f
--- /dev/null
+++ b/res/xml/qwerty_lv.xml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index 6834733..e730986 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -110,6 +110,7 @@ final class Config
{
case "azerty": return R.xml.azerty;
case "qwerty": return R.xml.qwerty;
+ case "qwerty_lv": return R.xml.qwerty_lv;
case "qwertz": return R.xml.qwertz;
case "system": default: return -1;
}
--
cgit v1.2.3