summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2010-12-23 22:16:56 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2010-12-23 22:16:56 (GMT)
commitacd2e2b439275a7b0ed11b1f04994b0a15c1ff18 (patch)
tree834e92df513a3ce23ea67a8c999807e7c123c622 /res
downloadSoftKeys-acd2e2b439275a7b0ed11b1f04994b0a15c1ff18.zip
SoftKeys-acd2e2b439275a7b0ed11b1f04994b0a15c1ff18.tar.gz
SoftKeys-acd2e2b439275a7b0ed11b1f04994b0a15c1ff18.tar.bz2
Initial commitv3.00
Diffstat (limited to 'res')
-rw-r--r--res/drawable-mdpi/button_back.pngbin0 -> 2073 bytes
-rw-r--r--res/drawable-mdpi/button_exit.pngbin0 -> 3681 bytes
-rw-r--r--res/drawable-mdpi/button_home.pngbin0 -> 1998 bytes
-rw-r--r--res/drawable-mdpi/button_menu.pngbin0 -> 1332 bytes
-rw-r--r--res/drawable-mdpi/button_popper.pngbin0 -> 2317 bytes
-rw-r--r--res/drawable-mdpi/button_search.pngbin0 -> 2765 bytes
-rw-r--r--res/drawable-mdpi/button_settings.pngbin0 -> 2708 bytes
-rw-r--r--res/drawable-mdpi/icon.pngbin0 -> 2317 bytes
-rw-r--r--res/drawable-mdpi/service_button_container_background.9.pngbin0 -> 2461 bytes
-rw-r--r--res/layout/buttonids.xml35
-rw-r--r--res/layout/main.xml30
-rw-r--r--res/layout/main_button.xml28
-rw-r--r--res/layout/main_button_container.xml29
-rw-r--r--res/layout/notification_bar_shortcut.xml36
-rw-r--r--res/layout/recent_apps.xml70
-rw-r--r--res/layout/recent_apps_icon.xml58
-rw-r--r--res/layout/service.xml25
-rw-r--r--res/layout/service_button.xml25
-rw-r--r--res/layout/service_button_container.xml25
-rw-r--r--res/layout/service_popper.xml24
-rw-r--r--res/layout/service_popper_button.xml25
-rw-r--r--res/layout/service_popper_button_container.xml26
-rw-r--r--res/values/FloatingStyle.xml20
-rw-r--r--res/values/arrays.xml60
-rw-r--r--res/values/strings.xml104
-rw-r--r--res/xml/prefs.xml276
26 files changed, 896 insertions, 0 deletions
diff --git a/res/drawable-mdpi/button_back.png b/res/drawable-mdpi/button_back.png
new file mode 100644
index 0000000..96d85d2
--- /dev/null
+++ b/res/drawable-mdpi/button_back.png
Binary files differ
diff --git a/res/drawable-mdpi/button_exit.png b/res/drawable-mdpi/button_exit.png
new file mode 100644
index 0000000..bfe13db
--- /dev/null
+++ b/res/drawable-mdpi/button_exit.png
Binary files differ
diff --git a/res/drawable-mdpi/button_home.png b/res/drawable-mdpi/button_home.png
new file mode 100644
index 0000000..64fc4b6
--- /dev/null
+++ b/res/drawable-mdpi/button_home.png
Binary files differ
diff --git a/res/drawable-mdpi/button_menu.png b/res/drawable-mdpi/button_menu.png
new file mode 100644
index 0000000..6f31b57
--- /dev/null
+++ b/res/drawable-mdpi/button_menu.png
Binary files differ
diff --git a/res/drawable-mdpi/button_popper.png b/res/drawable-mdpi/button_popper.png
new file mode 100644
index 0000000..ccd3f6c
--- /dev/null
+++ b/res/drawable-mdpi/button_popper.png
Binary files differ
diff --git a/res/drawable-mdpi/button_search.png b/res/drawable-mdpi/button_search.png
new file mode 100644
index 0000000..85b044f
--- /dev/null
+++ b/res/drawable-mdpi/button_search.png
Binary files differ
diff --git a/res/drawable-mdpi/button_settings.png b/res/drawable-mdpi/button_settings.png
new file mode 100644
index 0000000..08d92ef
--- /dev/null
+++ b/res/drawable-mdpi/button_settings.png
Binary files differ
diff --git a/res/drawable-mdpi/icon.png b/res/drawable-mdpi/icon.png
new file mode 100644
index 0000000..ccd3f6c
--- /dev/null
+++ b/res/drawable-mdpi/icon.png
Binary files differ
diff --git a/res/drawable-mdpi/service_button_container_background.9.png b/res/drawable-mdpi/service_button_container_background.9.png
new file mode 100644
index 0000000..8f5d811
--- /dev/null
+++ b/res/drawable-mdpi/service_button_container_background.9.png
Binary files differ
diff --git a/res/layout/buttonids.xml b/res/layout/buttonids.xml
new file mode 100644
index 0000000..6a06552
--- /dev/null
+++ b/res/layout/buttonids.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+ <!--
+ note: this layout is not used, it's just to anchor our R.id.XXX stuff
+ -->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/button_container">
+
+ <ImageButton android:id="@+id/menu" />
+ <ImageButton android:id="@+id/home" />
+ <ImageButton android:id="@+id/back" />
+ <ImageButton android:id="@+id/search" />
+ <ImageButton android:id="@+id/settings" />
+ <ImageButton android:id="@+id/exit" />
+ <ImageButton android:id="@+id/popper" />
+</LinearLayout>
+
+
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..cc1a931
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_view"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <include
+ layout="@layout/recent_apps"/>
+
+</RelativeLayout>
+
+
diff --git a/res/layout/main_button.xml b/res/layout/main_button.xml
new file mode 100644
index 0000000..2e8dbae
--- /dev/null
+++ b/res/layout/main_button.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:padding="5dip"
+ android:gravity="center"
+ android:layout_weight="1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@android:color/transparent"
+/>
+
diff --git a/res/layout/main_button_container.xml b/res/layout/main_button_container.xml
new file mode 100644
index 0000000..d3f6e87
--- /dev/null
+++ b/res/layout/main_button_container.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:background="#ff000000">
+
+</LinearLayout>
+
+
diff --git a/res/layout/notification_bar_shortcut.xml b/res/layout/notification_bar_shortcut.xml
new file mode 100644
index 0000000..ad3f73f
--- /dev/null
+++ b/res/layout/notification_bar_shortcut.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="3dp"
+ >
+ <ImageView android:id="@+id/nb_image"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginRight="10dp"
+ />
+ <TextView android:id="@+id/nb_text"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:textColor="#000"
+ />
+</LinearLayout>
diff --git a/res/layout/recent_apps.xml b/res/layout/recent_apps.xml
new file mode 100644
index 0000000..b97ec3a
--- /dev/null
+++ b/res/layout/recent_apps.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/recent_apps"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ >
+
+ <!-- Title -->
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:gravity="center"
+ android:textColor="#80FFFFFF"
+ android:textStyle="bold"
+ android:singleLine="true"
+ android:paddingLeft="3dip"
+ android:text="@string/recent_tasks_title" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center"
+ >
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton0" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton1" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton2" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton3" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton4" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton5" />
+
+ </LinearLayout>
+</LinearLayout>
diff --git a/res/layout/recent_apps_icon.xml b/res/layout/recent_apps_icon.xml
new file mode 100644
index 0000000..2fe4802
--- /dev/null
+++ b/res/layout/recent_apps_icon.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!--
+/*
+** Copyright 2008, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- This is not a standalone element - it is imported into recent_apps_dialog.xml -->
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/label"
+ style="?android:attr/buttonStyle"
+ android:background="#00000000"
+ android:layout_width="80dip"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="3dip"
+ android:layout_marginBottom="3dip"
+ android:textColor="#ffffffff"
+
+ android:paddingTop="5dip"
+ android:paddingBottom="2dip"
+ android:drawablePadding="0dip"
+
+ android:textSize="13dip"
+ android:maxLines="2"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal"
+ android:gravity="top|center_horizontal" />
diff --git a/res/layout/service.xml b/res/layout/service.xml
new file mode 100644
index 0000000..8fcfd18
--- /dev/null
+++ b/res/layout/service.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
diff --git a/res/layout/service_button.xml b/res/layout/service_button.xml
new file mode 100644
index 0000000..b528b84
--- /dev/null
+++ b/res/layout/service_button.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@android:color/transparent"
+ android:padding="0dip" /> \ No newline at end of file
diff --git a/res/layout/service_button_container.xml b/res/layout/service_button_container.xml
new file mode 100644
index 0000000..b7e59cd
--- /dev/null
+++ b/res/layout/service_button_container.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ />
diff --git a/res/layout/service_popper.xml b/res/layout/service_popper.xml
new file mode 100644
index 0000000..e46d3de
--- /dev/null
+++ b/res/layout/service_popper.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
diff --git a/res/layout/service_popper_button.xml b/res/layout/service_popper_button.xml
new file mode 100644
index 0000000..b528b84
--- /dev/null
+++ b/res/layout/service_popper_button.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@android:color/transparent"
+ android:padding="0dip" /> \ No newline at end of file
diff --git a/res/layout/service_popper_button_container.xml b/res/layout/service_popper_button_container.xml
new file mode 100644
index 0000000..362ba15
--- /dev/null
+++ b/res/layout/service_popper_button_container.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:background="@android:color/transparent"
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ />
diff --git a/res/values/FloatingStyle.xml b/res/values/FloatingStyle.xml
new file mode 100644
index 0000000..0d4d2f2
--- /dev/null
+++ b/res/values/FloatingStyle.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <style name="Floating">
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:background">@android:color/transparent</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:windowNoTitle">true</item>
+ </style>
+
+ <!-- These could have just been put in the above theme but I thought
+ I would separate them out so I would remember this trick hopefully -->
+ <style name="Floating.NoTitleBar">
+ <item name="android:windowNoTitle">true</item>
+ </style>
+
+ <style name="Floating.NoTitleBar.Fullscreen">
+ <item name="android:windowFullscreen">true</item>
+ <item name="android:windowContentOverlay">@null</item>
+ </style>
+</resources> \ No newline at end of file
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
new file mode 100644
index 0000000..1d82e75
--- /dev/null
+++ b/res/values/arrays.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string-array name="doubleTimes">
+ <item>100</item>
+ <item>200</item>
+ <item>300</item>
+ <item>400</item>
+ <item>500</item>
+ </string-array>
+
+ <string-array name="orderValues">
+ <item>1</item>
+ <item>2</item>
+ <item>3</item>
+ <item>4</item>
+ </string-array>
+
+ <string-array name="clickActionNames">
+ <item>Ignore</item>
+ <item>Exit</item>
+ <item>Launcher</item>
+ <item>Alt Launcher</item>
+ <item>SoftKeys</item>
+ </string-array>
+
+ <string-array name="clickActionValues">
+ <item>ignore</item>
+ <item>exit</item>
+ <item>launcher</item>
+ <item>launcher2</item>
+ <item>softkeys</item>
+ </string-array>
+
+ <string-array name="clickPreActionNames">
+ <item>Single Tap Launcher, Double Tap SoftKeys</item>
+ <item>Single Tap SoftKeys, Double Tap Launcher</item>
+ </string-array>
+
+ <string-array name="clickPreActionValues">
+ <item>launcher</item>
+ <item>softkeys</item>
+ </string-array>
+
+ <string-array name="serviceSizeNames">
+ <item>Huge</item>
+ <item>Large</item>
+ <item>Medium</item>
+ <item>Small</item>
+ <item>Tiny</item>
+ </string-array>
+
+ <string-array name="serviceSizeValues">
+ <item>huge</item>
+ <item>large</item>
+ <item>medium</item>
+ <item>small</item>
+ <item>tiny</item>
+ </string-array>
+
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..99fbf47
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">SoftKeys</string>
+
+ <string name="recent_tasks_title">Recent Tasks:</string>
+
+ <string name="pref_category_service_title">SoftKeys Service</string>
+ <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_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>
+ <string name="pref_service_transparency_summary">Set Transparency of Service Popup</string>
+ <string name="pref_service_popper_transparency_title">Popper Transparency</string>
+ <string name="pref_service_popper_transparency_summary">Set Transparency of Button That Triggers Service Popup</string>
+ <string name="pref_service_close_after_title">Auto Hide</string>
+ <string name="pref_service_close_after_summary_on">Hide After Pressing Any Key But Back</string>
+ <string name="pref_service_close_after_summary_off">Do Not Auto Hide</string>
+ <string name="pref_service_close_after_back_title">Auto Hide After Back</string>
+ <string name="pref_service_close_after_back_summary_on">Hide After Pressing Back</string>
+ <string name="pref_service_close_after_back_summary_off">Do Not Hide After Pressing Back</string>
+ <string name="pref_service_no_background_title">Transparent Background</string>
+ <string name="pref_service_no_background_summary_on">Background is Transparent, Buttons are Floating</string>
+ <string name="pref_service_no_background_summary_off">Normal Background Containing Buttons</string>
+
+ <string name="pref_category_virtual_title">Virtual Home Button</string>
+ <string name="pref_launcher_title">Normal Press</string>
+ <string name="pref_launcher_summary">Choose Launcher for Normal Press</string>
+ <string name="pref_launcher2_title">Long Press</string>
+ <string name="pref_launcher2_summary">Choose Launcher for Long Press</string>
+ <string name="pref_return_home_after_back_title">Return After Back</string>
+ <string name="pref_return_home_after_back_summary_on">Return to SoftKeys After Back Key</string>
+ <string name="pref_return_home_after_back_summary_off">Do Not Return to SoftKeys After Back Key</string>
+
+ <string name="pref_category_physical_title">Physical Home Button</string>
+ <string name="pref_physical_note_title">NOTE:</string>
+ <string name="pref_physical_note_summary">For Single/Double Press While SoftKeys is Open</string>
+ <string name="pref_homebutton_title">Single Press</string>
+ <string name="pref_homebutton_summary">Action for Single Home Key Press</string>
+ <string name="pref_homebuttonmulti_title">Double Press</string>
+ <string name="pref_homebuttonmulti_summary">Action For Double Home Key Press</string>
+ <string name="pref_homedoubletime_title">Double Press Time</string>
+ <string name="pref_homedoubletime_summary">Time Allow for Double Home Press in ms</string>
+ <string name="pref_prehomebutton_title">Home Button</string>
+ <string name="pref_prehomebutton_summary">Press/Double Press Home Button Options</string>
+
+ <string name="pref_category_info_title">About SoftKeys</string>
+ <string name="pref_version_title">Version</string>
+ <string name="pref_version_summary">%s</string>
+ <string name="pref_author_title">Author</string>
+ <string name="pref_author_summary">Steve Slaven &lt;bpk@hoopajoo.net&gt;</string>
+ <string name="pref_url_title">Website</string>
+ <string name="pref_url_summary">http://hoopajoo.net/</string>
+
+ <string name="pref_category_visual_title">Visuals and Layout</string>
+ <string name="pref_theme_title">Theme</string>
+ <string name="pref_theme_summary">Select Theme</string>
+ <string name="pref_exitbutton_title">Exit Button</string>
+ <string name="pref_exitbutton_summary_on">Show Exit Button</string>
+ <string name="pref_exitbutton_summary_off">Hide Exit Button</string>
+ <string name="pref_choosebutton_title">Prefs Button</string>
+ <string name="pref_choosebutton_summary_on">Show Prefs Button</string>
+ <string name="pref_choosebutton_summary_off">Hide Prefs Button</string>
+
+ <string name="pref_screen_reorder_title">Change Button Order</string>
+ <string name="pref_order_menu_title">Menu Button Position</string>
+ <string name="pref_order_menu_summary">Menu Button Position</string>
+ <string name="pref_order_home_title">Home Button Position</string>
+ <string name="pref_order_home_summary">Home Button Position</string>
+ <string name="pref_order_back_title">Back Button Position</string>
+ <string name="pref_order_back_summary">Back Button Position</string>
+ <string name="pref_order_search_title">Search Button Position</string>
+ <string name="pref_order_search_summary">Search Button Position</string>
+
+ <string name="pref_dim_behind_title">Dim Background</string>
+ <string name="pref_dim_behind_summary_on">Background is Dimmed</string>
+ <string name="pref_dim_behind_summary_off">Background is Not Dimmed</string>
+ <string name="pref_blur_behind_title">Blur Behind (slower)</string>
+ <string name="pref_blur_behind_summary_on">Background is Blurred (slower)</string>
+ <string name="pref_blur_behind_summary_off">Background is Not Blurred</string>
+
+ <string name="pref_recent_apps_title">Recent Apps</string>
+ <string name="pref_recent_apps_summary_on">Show Recent Apps</string>
+ <string name="pref_recent_apps_summary_off">Hide Recent Apps</string>
+
+ <string name="pref_notification_bar_title">Notification Bar</string>
+ <string name="pref_nb_softkeys_title">SoftKeys Button</string>
+ <string name="pref_nb_softkeys_summary_on">Show SoftKeys Button</string>
+ <string name="pref_nb_softkeys_summary_off">Do Not Show SoftKeys Button</string>
+ <string name="pref_nb_menu_title">Menu Button</string>
+ <string name="pref_nb_menu_summary_on">Show Menu Button</string>
+ <string name="pref_nb_menu_summary_off">Do Not Show Menu Button</string>
+ <string name="pref_nb_home_title">Home Button</string>
+ <string name="pref_nb_home_summary_on">Show Home Button</string>
+ <string name="pref_nb_home_summary_off">Do Not Show Home Button</string>
+ <string name="pref_nb_back_title">Back Button</string>
+ <string name="pref_nb_back_summary_on">Show Back Button</string>
+ <string name="pref_nb_back_summary_off">Do Not Show Back Button</string>
+ <string name="pref_nb_search_title">Search Button</string>
+ <string name="pref_nb_search_summary_on">Show Search button</string>
+ <string name="pref_nb_search_summary_off">Do Not Show Search Button</string>
+
+</resources>
diff --git a/res/xml/prefs.xml b/res/xml/prefs.xml
new file mode 100644
index 0000000..8a71b27
--- /dev/null
+++ b/res/xml/prefs.xml
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory
+ android:title="@string/pref_category_service_title">
+
+ <CheckBoxPreference
+ android:title="@string/pref_service_title"
+ android:summaryOn="@string/pref_service_summary_on"
+ android:summaryOff="@string/pref_service_summary_off"
+ android:defaultValue="true"
+ android:key="service"
+ />
+
+ <ListPreference
+ android:title="@string/pref_service_size_title"
+ android:summaryOn="@string/pref_service_size_summary"
+ android:entries="@array/serviceSizeNames"
+ android:entryValues="@array/serviceSizeValues"
+ android:defaultValue="medium"
+ android:key="service_size"
+ />
+
+ <com.hlidskialf.android.preference.SeekBarPreference
+ android:key="service_transparency"
+ android:title="@string/pref_service_transparency_title"
+ android:summary="@string/pref_service_transparency_summary"
+ android:defaultValue="0"
+ android:max="100"
+ />
+
+ <com.hlidskialf.android.preference.SeekBarPreference
+ android:key="service_popper_transparency"
+ android:title="@string/pref_service_popper_transparency_title"
+ 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"
+ android:summaryOff="@string/pref_service_close_after_summary_off"
+ android:defaultValue="true"
+ android:key="service_close_after"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_service_close_after_back_title"
+ android:summaryOn="@string/pref_service_close_after_back_summary_on"
+ android:summaryOff="@string/pref_service_close_after_back_summary_off"
+ android:defaultValue="false"
+ android:key="service_close_after_back"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_service_no_background_title"
+ android:summaryOn="@string/pref_service_no_background_summary_on"
+ android:summaryOff="@string/pref_service_no_background_summary_off"
+ android:defaultValue="false"
+ android:key="service_no_background"
+ />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/pref_category_virtual_title">
+
+ <ListPreference
+ android:title="@string/pref_launcher_title"
+ android:summary="@string/pref_launcher_summary"
+ android:key="launcher"
+ />
+ <ListPreference
+ android:title="@string/pref_launcher2_title"
+ android:summary="@string/pref_launcher2_summary"
+ android:key="launcher2"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_return_home_after_back_title"
+ android:summaryOn="@string/pref_return_home_after_back_summary_on"
+ android:summaryOff="@string/pref_return_home_after_back_summary_off"
+ android:defaultValue="false"
+ android:key="return_home_after_back"
+ />
+
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/pref_category_physical_title">
+ <!--
+ <Preference
+ android:title="@string/pref_physical_note_title"
+ android:summary="@string/pref_physical_note_summary"
+ />
+
+ <ListPreference
+ android:title="@string/pref_homebutton_title"
+ android:summary="@string/pref_homebutton_summary"
+ android:key="homebutton"
+ android:entries="@array/clickActionNames"
+ android:entryValues="@array/clickActionValues"
+ android:defaultValue="exit"
+ />
+
+ <ListPreference
+ android:title="@string/pref_homebuttonmulti_title"
+ android:summary="@string/pref_homebuttonmulti_summary"
+ android:key="homebuttonmulti"
+ android:entries="@array/clickActionNames"
+ android:entryValues="@array/clickActionValues"
+ android:defaultValue="launcher"
+ />
+ -->
+
+ <ListPreference
+ android:title="@string/pref_prehomebutton_title"
+ android:summary="@string/pref_prehomebutton_summary"
+ android:key="prehomebutton"
+ android:entries="@array/clickPreActionNames"
+ android:entryValues="@array/clickPreActionValues"
+ android:defaultValue="launcher"
+ />
+
+ <ListPreference
+ android:title="@string/pref_homedoubletime_title"
+ android:summary="@string/pref_homedoubletime_summary"
+ android:key="homedoubletime"
+ android:entries="@array/doubleTimes"
+ android:entryValues="@array/doubleTimes"
+ android:defaultValue="200"
+ />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/pref_category_visual_title">
+
+ <ListPreference
+ android:title="@string/pref_theme_title"
+ android:summary="@string/pref_theme_summary"
+ android:key="theme"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_exitbutton_title"
+ android:summaryOn="@string/pref_exitbutton_summary_on"
+ android:summaryOff="@string/pref_exitbutton_summary_off"
+ android:defaultValue="true"
+ android:key="exitbutton"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_choosebutton_title"
+ android:summaryOn="@string/pref_choosebutton_summary_on"
+ android:summaryOff="@string/pref_choosebutton_summary_off"
+ android:defaultValue="true"
+ android:key="choosebutton"
+ />
+
+
+
+ <CheckBoxPreference
+ android:title="@string/pref_blur_behind_title"
+ android:summaryOn="@string/pref_blur_behind_summary_on"
+ android:summaryOff="@string/pref_blur_behind_summary_off"
+ android:defaultValue="false"
+ android:key="blur_behind"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_dim_behind_title"
+ android:summaryOn="@string/pref_dim_behind_summary_on"
+ android:summaryOff="@string/pref_dim_behind_summary_off"
+ android:defaultValue="true"
+ android:key="dim_behind"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_recent_apps_title"
+ android:summaryOn="@string/pref_recent_apps_summary_on"
+ android:summaryOff="@string/pref_recent_apps_summary_off"
+ android:defaultValue="true"
+ android:key="recent_apps"
+ />
+
+ <PreferenceScreen android:title="@string/pref_screen_reorder_title">
+ <ListPreference android:title="@string/pref_order_back_title" android:summary="@string/pref_order_back_summary" android:key="order_back" android:entries="@array/orderValues" android:entryValues="@array/orderValues" android:defaultValue="1" />
+
+ <ListPreference android:title="@string/pref_order_home_title" android:summary="@string/pref_order_home_summary" android:key="order_home" android:entries="@array/orderValues" android:entryValues="@array/orderValues" android:defaultValue="2" />
+
+ <ListPreference android:title="@string/pref_order_menu_title" android:summary="@string/pref_order_menu_summary" android:key="order_menu" android:entries="@array/orderValues" android:entryValues="@array/orderValues" android:defaultValue="3" />
+
+ <ListPreference android:title="@string/pref_order_search_title" android:summary="@string/pref_order_search_summary" android:key="order_search" android:entries="@array/orderValues" android:entryValues="@array/orderValues" android:defaultValue="4" />
+ </PreferenceScreen>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/pref_notification_bar_title">
+ <CheckBoxPreference
+ android:title="@string/pref_nb_softkeys_title"
+ android:summaryOn="@string/pref_nb_softkeys_summary_on"
+ android:summaryOff="@string/pref_nb_softkeys_summary_off"
+ android:defaultValue="false"
+ android:key="nb_softkeys"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_nb_menu_title"
+ android:summaryOn="@string/pref_nb_menu_summary_on"
+ android:summaryOff="@string/pref_nb_menu_summary_off"
+ android:defaultValue="false"
+ android:key="nb_menu"
+ />
+ <CheckBoxPreference
+ android:title="@string/pref_nb_home_title"
+ android:summaryOn="@string/pref_nb_home_summary_on"
+ android:summaryOff="@string/pref_nb_home_summary_off"
+ android:defaultValue="false"
+ android:key="nb_home"
+ />
+ <CheckBoxPreference
+ android:title="@string/pref_nb_back_title"
+ android:summaryOn="@string/pref_nb_back_summary_on"
+ android:summaryOff="@string/pref_nb_back_summary_off"
+ android:defaultValue="false"
+ android:key="nb_back"
+ />
+ <CheckBoxPreference
+ android:title="@string/pref_nb_search_title"
+ android:summaryOn="@string/pref_nb_search_summary_on"
+ android:summaryOff="@string/pref_nb_search_summary_off"
+ android:defaultValue="false"
+ android:key="nb_search"
+ />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/pref_category_info_title">
+
+ <Preference
+ android:key="pref_version"
+ android:title="@string/pref_version_title"
+ android:summary="@string/pref_version_summary" />
+
+ <Preference
+ android:key="pref_author"
+ android:title="@string/pref_author_title"
+ android:summary="@string/pref_author_summary" />
+
+ <Preference
+ android:key="pref_url"
+ android:title="@string/pref_url_title"
+ android:summary="@string/pref_url_summary" />
+
+ </PreferenceCategory>
+</PreferenceScreen> \ No newline at end of file