summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-09-04 23:55:37 +0200
committerArne Schwabe <arne@rfc2549.org>2012-09-04 23:55:37 +0200
commit165f27d1c926cf6ad349199aa20f8a456f535ec4 (patch)
tree1776bd9c6b5a990bf56108b1dcca3ed45dd6b1db
parentd78a6fd993c514a6960d968dd55c3a2793b688cf (diff)
Correct the type of text for the basic settings. (closes issue #86)
For the other settings which use T EditPrefernce there seems to be noway to specify a text type.
-rw-r--r--res/layout/basic_settings.xml2
-rw-r--r--res/xml/vpn_ipsettings.xml1
2 files changed, 1 insertions, 2 deletions
diff --git a/res/layout/basic_settings.xml b/res/layout/basic_settings.xml
index 492bf2c6..d37bc37a 100644
--- a/res/layout/basic_settings.xml
+++ b/res/layout/basic_settings.xml
@@ -44,7 +44,7 @@
<EditText
android:id="@+id/address"
style="@style/item"
- android:inputType="text"
+ android:inputType="textUri"
android:text="@string/defaultserver" >
<!-- <requestFocus /> -->
diff --git a/res/xml/vpn_ipsettings.xml b/res/xml/vpn_ipsettings.xml
index e482f8f1..d559c89b 100644
--- a/res/xml/vpn_ipsettings.xml
+++ b/res/xml/vpn_ipsettings.xml
@@ -17,7 +17,6 @@
<EditTextPreference
android:dependency="usePull"
android:dialogMessage="@string/ipv6_dialog_tile"
- android:enabled="false"
android:key="ipv6_address"
android:title="@string/ipv6_address" />