diff options
author | John Reck <jreck@google.com> | 2011-04-27 17:14:17 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-04-27 17:14:17 -0700 |
commit | a8825b2a789eb0dbeca6d350197869c5ab812ae1 (patch) | |
tree | 832c5544011e3c802cc7380b88cc8464c0920df5 /src/com/android/browser/preferences | |
parent | 12472f6e50bae508cdbc63fed0e11ad21daeabcf (diff) | |
download | packages_apps_Browser-a8825b2a789eb0dbeca6d350197869c5ab812ae1.zip packages_apps_Browser-a8825b2a789eb0dbeca6d350197869c5ab812ae1.tar.gz packages_apps_Browser-a8825b2a789eb0dbeca6d350197869c5ab812ae1.tar.bz2 |
Rendering glitch workaround
Change-Id: If2102da9b67c7501195789f6bd871f8f8954de5b
Diffstat (limited to 'src/com/android/browser/preferences')
-rw-r--r-- | src/com/android/browser/preferences/WebViewPreview.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/preferences/WebViewPreview.java b/src/com/android/browser/preferences/WebViewPreview.java index 94598bc..a269dbd 100644 --- a/src/com/android/browser/preferences/WebViewPreview.java +++ b/src/com/android/browser/preferences/WebViewPreview.java @@ -79,6 +79,7 @@ public class WebViewPreview extends Preference implements OnSharedPreferenceChan LayoutInflater inflater = LayoutInflater.from(getContext()); mRoot = inflater.inflate(R.layout.webview_preview, parent, false); mWebView = (WebView) mRoot.findViewById(R.id.webview); + mWebView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); } updatePreview(); return mRoot; |