Security warning dialog update
Bug: 5222843
Change-Id: I0d387a0564c82e1234ea14dee723a52e1ba9cade
diff --git a/res/layout/ssl_warning.xml b/res/layout/ssl_warning.xml
index 749629d..a54dfb8 100644
--- a/res/layout/ssl_warning.xml
+++ b/res/layout/ssl_warning.xml
@@ -14,27 +14,18 @@
limitations under the License.
-->
-<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:shrinkColumns="1"
- android:orientation="horizontal" >
-
- <TableRow>
- <ImageView
- android:scaleType="center"
- android:src="@drawable/ic_dialog_browser_security_bad"
- android:layout_marginLeft="20dip"
- android:layout_marginBottom="12dip" />
-
- <TextView
- android:id="@+id/warning"
- android:gravity="left"
- android:layout_weight="1"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="20dip"
- android:layout_marginBottom="12dip" />
- </TableRow>
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/warning"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:drawableLeft="@drawable/ic_dialog_browser_security_bad"
+ android:drawablePadding="6dip"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginLeft="12dip"
+ android:layout_marginRight="12dip"
+ android:minHeight="32dip"
+ android:gravity="center_vertical"
+ android:layout_marginBottom="4dip"
+ android:layout_marginTop="4dip" />
-</TableLayout>