changeset 249:dc6e53600ae2

add host preference for fixed screen size
author Carl Byington <carl@five-ten-sg.com>
date Mon, 14 Jul 2014 11:51:59 -0700
parents 0181323d0d33
children 2bf2724d8610
files res/xml/host_prefs.xml
diffstat 1 files changed, 19 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/res/xml/host_prefs.xml	Mon Jul 14 11:20:42 2014 -0700
+++ b/res/xml/host_prefs.xml	Mon Jul 14 11:51:59 2014 -0700
@@ -40,12 +40,25 @@
         android:singleLine="true"
         />
 
-<!--
-    <CheckBoxPreference
-        android:key="usekeys"
-        android:title="Use SSH keys"
-        />
--->
+	<CheckBoxPreference
+		android:key="fixed_size"
+		android:title="@string/hostpref_fixed_size_title"
+		android:summary="@string/hostpref_fixed_size_summary"
+		/>
+
+  	<EditTextPreference
+  		android:key="fixed_width"
+  		android:title="@string/hostpref_fixed_width_title"
+  		android:defaultValue="80"
+  		android:numeric="integer"
+  		/>
+
+   	<EditTextPreference
+   		android:key="fixed_height"
+   		android:title="@string/hostpref_fixed_height_title"
+   		android:defaultValue="25"
+   		android:numeric="integer"
+   		/>
 
     <ListPreference
         android:key="pubkeyid"