diff options
| author | Jules Aguillon | 2023-07-18 00:31:32 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2023-07-19 23:30:58 +0200 |
| commit | 458e17bf31c9ef6b4dfadd56dd0c0dfb709eb32c (patch) | |
| tree | 7e4bd6dd451f13071fd85ebecb984388c236fd39 /res/layout/custom_extra_key_add.xml | |
| parent | 324aa26ba4d062edcbbecab9de2f0a8f2c3c8dfc (diff) | |
| download | unexpected-keyboard-458e17bf31c9ef6b4dfadd56dd0c0dfb709eb32c.tar.gz unexpected-keyboard-458e17bf31c9ef6b4dfadd56dd0c0dfb709eb32c.zip | |
Add custom extra keys preference
This is a new section in the extra keys option that allows to enter
arbitrary strings which are then added to the keyboard.
A new string is needed for the title of the section, Android's icons and
strings are used as much as possible to avoid adding more strings.
Keys are stored in the preferences as a JSON array of strings.
Diffstat (limited to 'res/layout/custom_extra_key_add.xml')
| -rw-r--r-- | res/layout/custom_extra_key_add.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/layout/custom_extra_key_add.xml b/res/layout/custom_extra_key_add.xml new file mode 100644 index 0000000..bb555b5 --- /dev/null +++ b/res/layout/custom_extra_key_add.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> |
