summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2011-02-15 17:32:44 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2011-02-15 17:32:44 (GMT)
commite84d1dc3b145751d039a4082fe98c0b8006b68f7 (patch)
tree4ad4c5c03807455d63a09d089b75dd25f4f58e8b /res
parenta4305e26768cbc7d8ff3ba70327f91bfee7cc323 (diff)
downloadSoftKeys-e84d1dc3b145751d039a4082fe98c0b8006b68f7.zip
SoftKeys-e84d1dc3b145751d039a4082fe98c0b8006b68f7.tar.gz
SoftKeys-e84d1dc3b145751d039a4082fe98c0b8006b68f7.tar.bz2
Add bootup option if you want the service without running as your default
launcher, needed to restructure some initialization code because of that since Keys is not the primary entry point anymore
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml18
-rw-r--r--res/xml/prefs.xml35
2 files changed, 52 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index dfea6a7..d1421a4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -14,6 +14,24 @@
<string name="pref_service_title">Run Service</string>
<string name="pref_service_summary_on">Run SoftKeys Service</string>
<string name="pref_service_summary_off">Just Use SoftKeys Launcher</string>
+
+ <string name="pref_service_boot_title">Run Service at Boot</string>
+ <string name="pref_service_boot_summary_on">Run SoftKeys Service at Boot (even if not default launcher)</string>
+ <string name="pref_service_boot_summary_off">Do Not Run SoftKeys Service at Boot (only if not default launcher)</string>
+
+ <string name="pref_service_drag_title">Draggable Service</string>
+ <string name="pref_service_drag_summary_on">Allow Dragging Service Buttons</string>
+ <string name="pref_service_drag_summary_off">Service Buttons Do Not mMve</string>
+
+ <string name="pref_service_drag_popper_title">Draggable Popper</string>
+ <string name="pref_service_drag_popper_summary_on">Allow Dragging Popper Button</string>
+ <string name="pref_service_drag_popper_summary_off">Popper Button Does Not Move</string>
+
+ <string name="pref_service_drag_extra_title">Draggable D-Pad</string>
+ <string name="pref_service_drag_extra_summary_on">Allow Dragging D-Pad Buttons</string>
+ <string name="pref_service_drag_extra_summary_off">D-Pad Buttons Do Not Move</string>
+
+
<string name="pref_service_size_title">Size</string>
<string name="pref_service_size_summary">Size of Service Popup Buttons</string>
<string name="pref_service_transparency_title">Button Bar Transparency</string>
diff --git a/res/xml/prefs.xml b/res/xml/prefs.xml
index fddc692..f2bfd5b 100644
--- a/res/xml/prefs.xml
+++ b/res/xml/prefs.xml
@@ -30,6 +30,14 @@
android:key="service"
/>
+ <CheckBoxPreference
+ android:title="@string/pref_service_boot_title"
+ android:summaryOn="@string/pref_service_boot_summary_on"
+ android:summaryOff="@string/pref_service_boot_summary_off"
+ android:defaultValue="true"
+ android:key="service_boot"
+ />
+
<ListPreference
android:title="@string/pref_service_size_title"
android:summaryOn="@string/pref_service_size_summary"
@@ -38,6 +46,30 @@
android:defaultValue="medium"
android:key="service_size"
/>
+
+ <CheckBoxPreference
+ android:title="@string/pref_service_drag_popper_title"
+ android:summaryOn="@string/pref_service_drag_popper_summary_on"
+ android:summaryOff="@string/pref_service_drag_popper_summary_off"
+ android:defaultValue="true"
+ android:key="service_drag_popper"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_service_drag_title"
+ android:summaryOn="@string/pref_service_drag_summary_on"
+ android:summaryOff="@string/pref_service_drag_summary_off"
+ android:defaultValue="true"
+ android:key="service_drag"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_service_drag_extra_title"
+ android:summaryOn="@string/pref_service_drag_extra_summary_on"
+ android:summaryOff="@string/pref_service_drag_extra_summary_off"
+ android:defaultValue="true"
+ android:key="service_drag_extra"
+ />
<com.hlidskialf.android.preference.SeekBarPreference
android:key="service_transparency"
@@ -61,7 +93,8 @@
android:summary="@string/pref_service_popper_transparency_summary"
android:defaultValue="0"
android:max="100"
- />
+ />
+
<CheckBoxPreference
android:title="@string/pref_service_close_after_title"
android:summaryOn="@string/pref_service_close_after_summary_on"