summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorPartha N <parthan@gmail.com>2012-01-17 18:33:03 -0800
committerPartha N <parthan@gmail.com>2012-02-26 22:26:55 -0800
commitba7ee527d8683f718efbc85558310b8ba269809b (patch)
treed35b377e4028bbb606efbc3cc20b018261c88c50 /res/layout
parent1e78bd01ca308eec6a08ad376a889240635d6c24 (diff)
downloadpackages_apps_settings-ba7ee527d8683f718efbc85558310b8ba269809b.zip
packages_apps_settings-ba7ee527d8683f718efbc85558310b8ba269809b.tar.gz
packages_apps_settings-ba7ee527d8683f718efbc85558310b8ba269809b.tar.bz2
Enable EAP-pwd configuration in WiFi Settings.
EAP-pwd (RFC 5931) is an EAP method that uses a shared password for authentication. It has the simplicity of setup as WPA2-PSK (no certificates), but provides strong authenticaiton like 802.1x. Modified the Settings screen so that the only visible fields when choosing EAP-pwd are 'identity' and 'password'. Change-Id: I9365d873b43c416ddfa4cae47b7419d902c212a7 Signed-off-by: Partha N <parthan@gmail.com>
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/wifi_dialog.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/res/layout/wifi_dialog.xml b/res/layout/wifi_dialog.xml
index 1b4d062..f06c332 100644
--- a/res/layout/wifi_dialog.xml
+++ b/res/layout/wifi_dialog.xml
@@ -63,7 +63,8 @@
style="@style/wifi_section"
android:visibility="gone">
- <LinearLayout
+ <LinearLayout android:id="@+id/l_method"
+ android:visibility="gone"
style="@style/wifi_item" >
<TextView
style="@style/wifi_item_label"
@@ -75,7 +76,8 @@
android:entries="@array/wifi_eap_method" />
</LinearLayout>
- <LinearLayout
+ <LinearLayout android:id="@+id/l_phase2"
+ android:visibility="gone"
style="@style/wifi_item" >
<TextView
style="@style/wifi_item_label"
@@ -87,7 +89,8 @@
android:entries="@array/wifi_phase2_entries" />
</LinearLayout>
- <LinearLayout
+ <LinearLayout android:id="@+id/l_ca_cert"
+ android:visibility="gone"
style="@style/wifi_item" >
<TextView
style="@style/wifi_item_label"
@@ -98,7 +101,8 @@
android:prompt="@string/wifi_eap_ca_cert" />
</LinearLayout>
- <LinearLayout
+ <LinearLayout android:id="@+id/l_user_cert"
+ android:visibility="gone"
style="@style/wifi_item" >
<TextView
style="@style/wifi_item_label"
@@ -109,7 +113,8 @@
android:prompt="@string/wifi_eap_user_cert" />
</LinearLayout>
- <LinearLayout
+ <LinearLayout android:id="@+id/l_identity"
+ android:visibility="gone"
style="@style/wifi_item" >
<TextView
style="@style/wifi_item_label"
@@ -121,7 +126,8 @@
android:inputType="textNoSuggestions" />
</LinearLayout>
- <LinearLayout
+ <LinearLayout android:id="@+id/l_anonymous"
+ android:visibility="gone"
style="@style/wifi_item" >
<TextView
style="@style/wifi_item_label"