Fix buttons out of screen in SSL warning dialogs for small screens in landspace

This commit is contained in:
David A. Velasco 2014-03-07 14:54:04 +01:00
parent a2be11ad54
commit e3be24b472

View file

@ -27,6 +27,7 @@
android:id="@+id/untrusted_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/ssl_validator_header"
android:padding="5dp"
android:textAppearance="?android:attr/textAppearanceMedium"
@ -36,6 +37,7 @@
android:id="@+id/untrusted_reason_cert_not_trusted"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_gravity="left"
android:paddingLeft="20dp"
android:text="@string/ssl_validator_reason_cert_not_trusted"
@ -47,7 +49,9 @@
android:visibility="gone"
android:padding="20dp"
android:layout_width="match_parent"
android:layout_height="180dp">
android:layout_height="0dp"
android:layout_weight="1"
>
<LinearLayout
android:id="@+id/untrusted_details_view"
@ -376,6 +380,7 @@
android:id="@+id/untrusted_question"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:padding="5dp"
android:text="@string/ssl_validator_question"
android:textAppearance="?android:attr/textAppearanceMedium"
@ -385,6 +390,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center" >
<Button