abouttreesummaryrefslogcommitdiff
path: root/res/layout/pref_listgroup_add_btn.xml
diff options
context:
space:
mode:
authorJules Aguillon2023-07-29 18:31:26 +0200
committerJules Aguillon2023-07-29 18:42:36 +0200
commit0856fb4e31a98b7f14f50006d95c89e23c19503d (patch)
tree1c81fcb97af653d3c3214bd22e11f133d01312f6 /res/layout/pref_listgroup_add_btn.xml
parent0a114bd2bc0fabf204190457d671f2a719acf6e9 (diff)
downloadunexpected-keyboard-0856fb4e31a98b7f14f50006d95c89e23c19503d.tar.gz
unexpected-keyboard-0856fb4e31a98b7f14f50006d95c89e23c19503d.zip
Refactor: Split out ListGroupPreference
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
Diffstat (limited to 'res/layout/pref_listgroup_add_btn.xml')
-rw-r--r--res/layout/pref_listgroup_add_btn.xml4
1 files changed, 4 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center">
+ <View android:layout_width="@dimen/pref_button_size" android:layout_height="@dimen/pref_button_size" android:background="@android:drawable/ic_menu_add"/>
+</LinearLayout>