From bd0d2a899ed32035ba2bf659e4390ffecc16cbaf Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Thu, 11 Aug 2011 16:45:49 -0700 Subject: [PATCH] Prevent infinite resizes in webview Bug: 2349275 Change-Id: Iea502beafcc232105486dfdd5a2d93229313bc45 --- res/layout-sw600dp/message_view_fragment.xml | 2 +- res/layout/message_view_fragment.xml | 7 +- src/com/android/email/view/RigidWebView.java | 103 +++++++++++++++++++ 3 files changed, 106 insertions(+), 6 deletions(-) create mode 100644 src/com/android/email/view/RigidWebView.java diff --git a/res/layout-sw600dp/message_view_fragment.xml b/res/layout-sw600dp/message_view_fragment.xml index 790ecaab5..ea337f97e 100644 --- a/res/layout-sw600dp/message_view_fragment.xml +++ b/res/layout-sw600dp/message_view_fragment.xml @@ -218,7 +218,7 @@ android:layout_weight="1" android:layout_marginLeft="14dip" android:layout_marginRight="14dip" - android:background="#ffffffff" + android:background="@android:color/white" android:visibility="gone" /> diff --git a/res/layout/message_view_fragment.xml b/res/layout/message_view_fragment.xml index 09b4772c7..38014fcc0 100644 --- a/res/layout/message_view_fragment.xml +++ b/res/layout/message_view_fragment.xml @@ -150,17 +150,14 @@ -