diff options
-rw-r--r-- | res/values/arrays.xml | 27 | ||||
-rw-r--r-- | res/xml/host_prefs.xml | 4 |
2 files changed, 21 insertions, 10 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 21863e2..9975f13 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -43,14 +43,19 @@ </string-array> <string-array name="list_pubkeyids"> - <item value="-2">@string/list_pubkeyids_none</item> - <item value="-1">@string/list_pubkeyids_any</item> + <item>@string/list_pubkeyids_none</item> + <item>@string/list_pubkeyids_any</item> </string-array> + <string-array name="list_pubkeyids_value"> + <item>-2</item> + <item>-1</item> + </string-array> + <string-array name="list_portforward_types"> - <item value="local">@string/portforward_local</item> - <item value="remote">@string/portforward_remote</item> - <item value="dynamic">@string/portforward_dynamic</item> + <item>@string/portforward_local</item> + <item>@string/portforward_remote</item> + <item>@string/portforward_dynamic</item> </string-array> <string-array name="list_wizard_topics"> @@ -59,9 +64,15 @@ </string-array> <string-array name="list_encodings"> - <item value="ASCII">ASCII</item> - <item value="ISO8859_1">ISO 8859-1</item> - <item value="UTF-8">UTF-8</item> + <item>ASCII</item> + <item>ISO 8859-1</item> + <item>UTF-8</item> + </string-array> + + <string-array name="list_encodings_value"> + <item>ASCII</item> + <item>ISO8859_1</item> + <item>UTF-8</item> </string-array> </resources> diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml index 15035cb..01e5546 100644 --- a/res/xml/host_prefs.xml +++ b/res/xml/host_prefs.xml @@ -41,7 +41,7 @@ android:key="pubkeyid" android:title="Use pubkey authentication" android:entries="@array/list_pubkeyids" - android:entryValues="@array/list_pubkeyids" + android:entryValues="@array/list_pubkeyids_value" /> <EditTextPreference @@ -67,7 +67,7 @@ android:title="Encoding" android:summary="Character encoding for the host" android:entries="@array/list_encodings" - android:entryValues="@array/list_encodings" + android:entryValues="@array/list_encodings_value" /> <PreferenceCategory |