From 2fc40512c669e89cccc3b21cad74c3bdf3b679a3 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 24 Sep 2022 15:57:45 +0200 Subject: [PATCH] Add switch_greekmath to the extra keys The Fn+switch_numeric shortcut might be hard to discover or too slow for heavy users. A location is allocated for the key so it has a consistent placement. --- res/xml/bottom_row.xml | 2 +- res/xml/settings.xml | 1 + srcs/juloo.keyboard2/ExtraKeyCheckBoxPreference.java | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/res/xml/bottom_row.xml b/res/xml/bottom_row.xml index f64c0a5..14e28a2 100644 --- a/res/xml/bottom_row.xml +++ b/res/xml/bottom_row.xml @@ -1,6 +1,6 @@ - + diff --git a/res/xml/settings.xml b/res/xml/settings.xml index afe1546..f74dc90 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -20,6 +20,7 @@ + diff --git a/srcs/juloo.keyboard2/ExtraKeyCheckBoxPreference.java b/srcs/juloo.keyboard2/ExtraKeyCheckBoxPreference.java index 887476a..79e9051 100644 --- a/srcs/juloo.keyboard2/ExtraKeyCheckBoxPreference.java +++ b/srcs/juloo.keyboard2/ExtraKeyCheckBoxPreference.java @@ -28,7 +28,8 @@ public class ExtraKeyCheckBoxPreference extends CheckBoxPreference "accent_ogonek", "€", "ß", - "£" + "£", + "switch_greekmath", }; boolean _key_font;