diff --git a/res/layout/wifi_dialog.xml b/res/layout/wifi_dialog.xml
index 4824be621d0..7a7d0b03dd1 100644
--- a/res/layout/wifi_dialog.xml
+++ b/res/layout/wifi_dialog.xml
@@ -21,7 +21,8 @@
+ android:orientation="vertical"
+ android:paddingBottom="8dip">
@@ -38,7 +39,7 @@
android:textDirection="locale" />
@@ -123,7 +124,7 @@
android:text="@string/wifi_eap_identity" />
@@ -136,7 +137,7 @@
android:text="@string/wifi_eap_anonymous" />
@@ -149,7 +150,7 @@
android:text="@string/wifi_password" />
@@ -218,7 +219,7 @@
android:text="@string/proxy_hostname_label" />
@@ -229,7 +230,7 @@
android:text="@string/proxy_port_label" />
@@ -240,7 +241,7 @@
android:text="@string/proxy_exclusionlist_label" />
@@ -272,7 +273,7 @@
android:text="@string/wifi_ip_address" />
@@ -285,7 +286,7 @@
android:text="@string/wifi_gateway" />
@@ -298,7 +299,7 @@
android:text="@string/wifi_network_prefix_length" />
@@ -310,7 +311,7 @@
android:text="@string/wifi_dns1" />
@@ -323,7 +324,7 @@
android:text="@string/wifi_dns2" />
diff --git a/res/values/styles.xml b/res/values/styles.xml
index dda22d96e2e..ebd87221ed2 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -121,12 +121,20 @@
- wrap_content
- wrap_content
- 14sp
+ - viewStart
+
+