abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorChasm Solacer2022-12-11 22:10:00 +0100
committerGitHub2022-12-11 22:10:00 +0100
commit90cad963ec147313eee32bd4bb3a46922a3eea7d (patch)
tree6b8b219bb50b1d28d28dcaddf473081f9e11df3e /res/xml
parentbf318729555cc6e3362716e16d60b53d466e808f (diff)
downloadunexpected-keyboard-90cad963ec147313eee32bd4bb3a46922a3eea7d.tar.gz
unexpected-keyboard-90cad963ec147313eee32bd4bb3a46922a3eea7d.zip
Make the keyboard transparent (#252)
* Add option for keyboard opacity (transparency). Keyboard background, keys and pressed keys can be adjusted separately. * Make the borders transparent as well * Moved setAlphas outside drawKeyFrame to top of onDraw method
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/settings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 17344cf..5fc898b 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -47,6 +47,9 @@
<PreferenceCategory android:title="@string/pref_category_style">
<ListPreference android:key="theme" android:title="@string/pref_theme" android:summary="%s" android:defaultValue="system" android:entries="@array/pref_theme_entries" android:entryValues="@array/pref_theme_values"/>
<juloo.common.IntSlideBarPreference android:key="label_brightness" android:title="@string/pref_label_brightness" android:summary="%s%%" android:defaultValue="100" min="50" max="100"/>
+ <juloo.common.IntSlideBarPreference android:key="keyboard_opacity" android:title="@string/pref_keyboard_opacity" android:summary="%s%%" android:defaultValue="100" min="30" max="100"/>
+ <juloo.common.IntSlideBarPreference android:key="key_opacity" android:title="@string/pref_key_opacity" android:summary="%s%%" android:defaultValue="100" min="30" max="100"/>
+ <juloo.common.IntSlideBarPreference android:key="key_activated_opacity" android:title="@string/pref_key_activated_opacity" android:summary="%s%%" android:defaultValue="100" min="30" max="100"/>
<juloo.common.IntSlideBarPreference android:key="margin_bottom" android:title="@string/pref_margin_bottom_title" android:summary="%sdp" android:defaultValue="5" min="0" max="100"/>
<juloo.common.IntSlideBarPreference android:key="keyboard_height" android:title="@string/pref_keyboard_height_title" android:summary="%s%%" android:defaultValue="35" min="10" max="50"/>
<juloo.common.IntSlideBarPreference android:key="keyboard_height_landscape" android:title="@string/pref_keyboard_height_landscape_title" android:summary="%s%%" android:defaultValue="50" min="20" max="65"/>