Niedzielski has uploaded a new change for review. https://gerrit.wikimedia.org/r/243996
Change subject: Enable hardware accelerated rendering for WebView ...................................................................... Enable hardware accelerated rendering for WebView Improve animation performance of the WebView by enabling hardware acceleration[0]. This is not enabled for the app as a whole, as it is an optimization that may cause rendering issues[1]. [0] https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_HARDWARE [1] http://developer.android.com/guide/topics/graphics/hardware-accel.html Bug: T114373 Change-Id: I95f01f2b61ee5a247e8ca27c16b91d9b4e184d8a --- M app/src/main/res/layout/fragment_page.xml 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia refs/changes/96/243996/1 diff --git a/app/src/main/res/layout/fragment_page.xml b/app/src/main/res/layout/fragment_page.xml index 13b64b2..cd00233 100644 --- a/app/src/main/res/layout/fragment_page.xml +++ b/app/src/main/res/layout/fragment_page.xml @@ -26,7 +26,8 @@ <org.wikipedia.views.ObservableWebView android:id="@+id/page_web_view" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:layerType="hardware" /> <FrameLayout android:id="@+id/page_image_container" -- To view, visit https://gerrit.wikimedia.org/r/243996 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I95f01f2b61ee5a247e8ca27c16b91d9b4e184d8a Gerrit-PatchSet: 1 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits