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
commitc28401f29b2ddcfb56840527d7f13fb38a3b82be (patch)
treea0520f017d5de094bbf9f90d6df7e94fe2b68a34
parentf726b1b7d9158731a5909bfa39bd5ad31fd889d0 (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" />