From 148bed769a14f9f5efed84e8d9391e0ace813bd2 Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Sat, 28 Oct 2023 20:14:32 +0200
Subject: Add left/right slider to the emoji pane
This entirely changes the implementation of the bottom row in the emoji
pane.
---
check_layout.py | 3 ++-
res/layout/emoji_pane.xml | 5 +----
res/values/styles.xml | 9 ---------
res/xml/emoji_bottom_row.xml | 10 ++++++++++
srcs/juloo.keyboard2/EmojiBottomRow.java | 14 ++++++++++++++
srcs/juloo.keyboard2/EmojiKeyButton.java | 29 -----------------------------
6 files changed, 27 insertions(+), 43 deletions(-)
create mode 100644 res/xml/emoji_bottom_row.xml
create mode 100644 srcs/juloo.keyboard2/EmojiBottomRow.java
delete mode 100644 srcs/juloo.keyboard2/EmojiKeyButton.java
diff --git a/check_layout.py b/check_layout.py
index 97887de..66b6bbe 100644
--- a/check_layout.py
+++ b/check_layout.py
@@ -6,7 +6,8 @@ warning_count = 0
KNOWN_NOT_LAYOUT = set([
"res/xml/number_row.xml", "res/xml/numpad.xml", "res/xml/pin.xml",
"res/xml/bottom_row.xml", "res/xml/settings.xml", "res/xml/method.xml",
- "res/xml/greekmath.xml", "res/xml/numeric.xml" ])
+ "res/xml/greekmath.xml", "res/xml/numeric.xml",
+ "res/xml/emoji_bottom_row.xml" ])
def warn(msg):
global warning_count
diff --git a/res/layout/emoji_pane.xml b/res/layout/emoji_pane.xml
index bdce8e0..6d53f86 100644
--- a/res/layout/emoji_pane.xml
+++ b/res/layout/emoji_pane.xml
@@ -3,9 +3,6 @@
-
-
-
-
+
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d3283a7..fc753c3 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -8,15 +8,6 @@
- ?attr/emoji_key_text
- 18dp
-