aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-12-29 23:43:42 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-12-29 23:43:42 +0000
commit25e660d37f9d3625db2fe608cd9c7985d9d2fdfa (patch)
tree4a9f4a40b650e6fd72b010261a95e42319d3c40f /res
parentad9a45cf8055707d9f77da90c3f44c8208a5f23c (diff)
downloadconnectbot-25e660d37f9d3625db2fe608cd9c7985d9d2fdfa.tar.gz
connectbot-25e660d37f9d3625db2fe608cd9c7985d9d2fdfa.tar.bz2
connectbot-25e660d37f9d3625db2fe608cd9c7985d9d2fdfa.zip
* Added "bumpy arrows" so that arrow keys trigger vibration, useful for laggy connections. Also added preference to turn off if desired.
* Created windowNoTitle style to prevent brief flashing of title bar on ConsoleActivity, instead of requesting programatically. * Slight padding change to EULA screen.
Diffstat (limited to 'res')
-rw-r--r--res/layout/wiz_eula.xml5
-rw-r--r--res/values/strings.xml1
-rw-r--r--res/values/styles.xml5
-rw-r--r--res/xml/preferences.xml10
4 files changed, 17 insertions, 4 deletions
diff --git a/res/layout/wiz_eula.xml b/res/layout/wiz_eula.xml
index dc3911b..e0df10b 100644
--- a/res/layout/wiz_eula.xml
+++ b/res/layout/wiz_eula.xml
@@ -34,7 +34,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="ConnectBot is a simple, powerful, open-source Secure Shell (SSH) client for your Android device."
- android:paddingTop="10dip"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
@@ -77,7 +76,7 @@
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:autoLink="web"
- android:text="Copyright \u00a9 2007-2008 Kenny Root http://the-b.org, Jeffrey Sharkey http://jsharkey.org\n\nBased in part on the Trilead SSH2 client, provided under a BSD-style license. Copyright \u00a9 2007 Trilead AG. http://www.trilead.com\n\nAlso based on JTA Telnet/SSH client, provided under the GPLv2 license. Copyright \u00a9 Matthias L. Jugel, Marcus Meiner 1996-2005. http://www.javassh.org\n\nAlso based in part on the JSOCKS library, provided under the GNU LGPL license. http://jsocks.sourceforge.net/\n\nAlso based in part on JZlib provided under a BSD-style license. Copyright \u00a9 JCraft, Inc., 2000-20004 http://www.jcraft.com"
+ android:text="Copyright \u00a9 2007-2008 Kenny Root http://the-b.org, Jeffrey Sharkey http://jsharkey.org\n\nBased in part on the Trilead SSH2 client, provided under a BSD-style license. Copyright \u00a9 2007 Trilead AG. http://www.trilead.com\n\nAlso based on JTA Telnet/SSH client, provided under the GPLv2 license. Copyright \u00a9 Matthias L. Jugel, Marcus Meiner 1996-2005. http://www.javassh.org\n\nAlso based in part on the JSOCKS library, provided under the GNU LGPL license. http://jsocks.sourceforge.net\n\nAlso based in part on JZlib provided under a BSD-style license. Copyright \u00a9 JCraft, Inc., 2000-20004 http://www.jcraft.com"
android:textSize="14sp"
android:textColor="#bebebe"
/>
@@ -93,4 +92,4 @@
</LinearLayout>
-</ScrollView> \ No newline at end of file
+</ScrollView>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index da920cb..91bd96a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -90,6 +90,7 @@
<string name="pref_lastchecked">lastchecked</string>
<string name="pref_fullscreen">fullscreen</string>
<string name="pref_wifilock">wifilock</string>
+ <string name="pref_bumpyarrows">bumpyarrows</string>
<string name="list_keymode_right">Use right-side keys</string>
<string name="list_keymode_left">Use left-side keys</string>
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 0000000..459ee80
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,5 @@
+<resources>
+ <style name="NoTitle" parent="android:Theme">
+ <item name="android:windowNoTitle">true</item>
+ </style>
+</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 8b6da2c..676d866 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -106,6 +106,14 @@
android:summary="Prevent Wi-Fi from turning off when a session is active"
android:defaultValue="true"
/>
+
+ <CheckBoxPreference
+ android:key="@string/pref_bumpyarrows"
+ android:title="Bumpy arrow keys"
+ android:summary="Vibrate when sending arrow keys from trackball, useful for laggy connections"
+ android:defaultValue="true"
+ />
+
</PreferenceCategory>
-</PreferenceScreen> \ No newline at end of file
+</PreferenceScreen>