FadingActionBar
FadingActionBar copied to clipboard
WebView not showing full content
When using a WebView with the FadingActionBar, there is a part in the end of the content of the WebView cut off, which makes it unusable. I first thought it had something to do on my side, but I noticed the same issue occurs in the demo app, where the bottom of the Wikipedia page is cut off.
Did you found solution for this issue?
I'm using my own html code in the app I needed this library for, not from a url, so the quickest solution for me with deadlines was to add a couple of html breaks to the end of this html string, so that this whitespace is the part that is cut off instead of real content. That is only a small hack off course until there is a real solution.
Is there a real solution yet?
My solution to replace the webview present by one webview within a scrollview and and works perfectly :)
Is there a real solution yet?
@edgarmacas Could you show your demos? :-)
@leozzyzheng replaced your activity_webview.xml by this code , it works perfectly:
@edgarmacas it works! Many thanks!!! But there are many other problems between ScrollView and WebView like the touch event and so on.
@yungpanda You should try to turn off the hardware acceleration of WebView:
webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);