Issue
I am loading the data from a String, and on the first time when I scroll down the webview blinks couple of times.
Here is my code where I load the data:
webview.loadDataWithBaseURL(null, message.getmContent(), "text/html", "UTF-8", null);
And the xml:
<WebView
android:id="@+id/web_content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@+id/footer"
android:layout_below="@id/message_title"
android:layout_margin="4dp"
/>
Solution
It's also possible to set software layer type in xml file and it works fine for me.
android:layerType="software"
Answered By - Volodymyr
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.