aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2007-11-21 22:31:46 +0000
committerKenny Root <kenny@the-b.org>2007-11-21 22:31:46 +0000
commit1c4ff63a55947db1cd730fb40856185e22bb47c6 (patch)
treeb01e0369ed3804d923b3228b075547d3e483855a /res
parentd6764b7763e7857273b65048b4eb37a3c65efade (diff)
downloadconnectbot-1c4ff63a55947db1cd730fb40856185e22bb47c6.tar.gz
connectbot-1c4ff63a55947db1cd730fb40856185e22bb47c6.tar.bz2
connectbot-1c4ff63a55947db1cd730fb40856185e22bb47c6.zip
Added preferences, touch entropy, fixes to SoftFont.
Diffstat (limited to 'res')
-rw-r--r--res/layout/preferences.xml33
-rw-r--r--res/values/strings.xml5
2 files changed, 38 insertions, 0 deletions
diff --git a/res/layout/preferences.xml b/res/layout/preferences.xml
new file mode 100644
index 0000000..d22fc5c
--- /dev/null
+++ b/res/layout/preferences.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <Button id="@+id/generate"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_marginLeft="10dip"
+ android:text="@string/button_generate" />
+
+ <TextView id="@+id/keyName"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/generate"
+ android:text="Username:"/>
+
+ <Button id="@+id/ok"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/keyName"
+ android:layout_alignParentRight="true"
+ android:layout_marginLeft="10dip"
+ android:text="@string/button_ok" />
+
+ <Button id="@+id/cancel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toLeft="@id/ok"
+ android:layout_alignTop="@id/ok"
+ android:text="@string/button_cancel" />
+</RelativeLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 75c16ae..faa1f18 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -6,6 +6,8 @@
<string name="title_host">Host</string>
<string name="title_shell">Secure Shell</string>
<string name="title_password">Input Password</string>
+ <string name="title_preferences">Preferences</string>
+ <string name="title_entropy">Gathering Entropy</string>
<string name="resolve_edit">Edit Host</string>
<string name="resolve_connect">Connect</string>
@@ -15,10 +17,13 @@
<string name="menu_preferences">Preferences</string>
<string name="menu_about">About</string>
+ <string name="prompt_touch">Please touch the screen.</string>
+
<string name="button_ok">Ok</string>
<string name="button_add">Add</string>
<string name="button_cancel">Cancel</string>
<string name="button_change">Change</string>
+ <string name="button_generate">Generate Key</string>
<string name="msg_copyright">Copyright &#169; 2007, Kenny Root http://the-b.org/</string>
<string name="msg_version">v1.0</string>