From 94a45853175e5ac4881d7af6d641c8c20fe67a90 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Sat, 23 Mar 2013 17:53:02 -0400 Subject: [PATCH] Switch to using NonLockingScrollView This implements the AOSP Email solution for incorporating a Webview inside a ScrollView, while still being able to scroll diagonally. This replaces the functionality of TitleBarWebView (which is now removed). --- res/layout/message.xml | 102 ++-- res/layout/message_view_header.xml | 447 +++++++++--------- src/android/webkit/WebViewClassic.java | 14 - src/com/fsck/k9/view/MessageHeader.java | 4 +- src/com/fsck/k9/view/MessageWebView.java | 5 +- .../k9}/view/NonLockingScrollView.java | 27 +- src/com/fsck/k9/view/SingleMessageView.java | 31 -- .../android/view/web/TitleBarWebView.java | 367 -------------- 8 files changed, 301 insertions(+), 696 deletions(-) delete mode 100644 src/android/webkit/WebViewClassic.java rename src/com/{android/email => fsck/k9}/view/NonLockingScrollView.java (84%) delete mode 100644 src/com/nobu_games/android/view/web/TitleBarWebView.java diff --git a/res/layout/message.xml b/res/layout/message.xml index be224eff9..41fe31257 100644 --- a/res/layout/message.xml +++ b/res/layout/message.xml @@ -7,64 +7,62 @@ android:layout_height="fill_parent" android:layout_weight="1"> - - - - - - - - - - - - - - + android:layout_height="wrap_content"> - - -