From 0856fb4e31a98b7f14f50006d95c89e23c19503d Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Sat, 29 Jul 2023 18:31:26 +0200
Subject: Refactor: Split out ListGroupPreference
Split out the implementation of a string-list preference from
CustomExtraKeysPreference.
Allows to share the implementation with future preferences.
---
res/layout/custom_extra_key_add.xml | 4 ----
res/layout/custom_extra_key_widget.xml | 4 ----
res/layout/pref_listgroup_add_btn.xml | 4 ++++
res/layout/pref_listgroup_group.xml | 3 +++
res/layout/pref_listgroup_item_widget.xml | 4 ++++
5 files changed, 11 insertions(+), 8 deletions(-)
delete mode 100644 res/layout/custom_extra_key_add.xml
delete mode 100644 res/layout/custom_extra_key_widget.xml
create mode 100644 res/layout/pref_listgroup_add_btn.xml
create mode 100644 res/layout/pref_listgroup_group.xml
create mode 100644 res/layout/pref_listgroup_item_widget.xml
(limited to 'res/layout')
diff --git a/res/layout/custom_extra_key_add.xml b/res/layout/custom_extra_key_add.xml
deleted file mode 100644
index bb555b5..0000000
--- a/res/layout/custom_extra_key_add.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/res/layout/custom_extra_key_widget.xml b/res/layout/custom_extra_key_widget.xml
deleted file mode 100644
index 7961f3c..0000000
--- a/res/layout/custom_extra_key_widget.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/res/layout/pref_listgroup_add_btn.xml b/res/layout/pref_listgroup_add_btn.xml
new file mode 100644
index 0000000..bb555b5
--- /dev/null
+++ b/res/layout/pref_listgroup_add_btn.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/res/layout/pref_listgroup_group.xml b/res/layout/pref_listgroup_group.xml
new file mode 100644
index 0000000..2b9db4b
--- /dev/null
+++ b/res/layout/pref_listgroup_group.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/res/layout/pref_listgroup_item_widget.xml b/res/layout/pref_listgroup_item_widget.xml
new file mode 100644
index 0000000..48e504e
--- /dev/null
+++ b/res/layout/pref_listgroup_item_widget.xml
@@ -0,0 +1,4 @@
+
+
+
+
--
cgit v1.2.3