abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/method.xml1
-rw-r--r--res/xml/settings.xml23
2 files changed, 24 insertions, 0 deletions
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 7b523f9..63887e3 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<input-method xmlns:android="http://schemas.android.com/apk/res/android"
+ android:settingsActivity="juloo.keyboard2.SettingsActivity"
android:supportsSwitchingToNextInputMethod="true">
</input-method>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
new file mode 100644
index 0000000..e92fb2b
--- /dev/null
+++ b/res/xml/settings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory android:title="@string/pref_category_layout">
+ <!-- Keyboard layout -->
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_typing">
+ <!-- Precision (SUB_VALUE_DIST) -->
+ <!-- Key repeat timeout (LONGPRESS_TIMEOUT) -->
+ <!-- Key repeat interval (LONGPRESS_INTERVAL) -->
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_vibrate">
+ <CheckBoxPreference
+ android:key="vibrate_enabled"
+ android:title="@string/pref_vibrate_text"
+ android:summary="@string/pref_vibrate_summary"
+ android:defaultValue="true" />
+ <!-- Duration (VIBRATE_DURATION) -->
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_category_misc">
+ <!-- Keys height (_keyHeight) -->
+ <!-- Offset height (_marginBottom) -->
+ </PreferenceCategory>
+</PreferenceScreen>