FadingActionBar icon indicating copy to clipboard operation
FadingActionBar copied to clipboard

WebView not showing full content

Open yungpanda opened this issue 10 years ago • 9 comments

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.

yungpanda avatar Apr 14 '14 12:04 yungpanda

Did you found solution for this issue?

pauloandreget avatar May 18 '14 11:05 pauloandreget

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.

yungpanda avatar May 18 '14 17:05 yungpanda

Is there a real solution yet?

NielsMasdorp avatar Aug 08 '14 00:08 NielsMasdorp

My solution to replace the webview present by one webview within a scrollview and and works perfectly :)

edgarmacas avatar Oct 18 '14 19:10 edgarmacas

Is there a real solution yet?

leozzyzheng avatar Nov 27 '14 09:11 leozzyzheng

@edgarmacas Could you show your demos? :-)

leozzyzheng avatar Nov 29 '14 07:11 leozzyzheng

@leozzyzheng replaced your activity_webview.xml by this code , it works perfectly: 1

edgarmacas avatar Nov 30 '14 05:11 edgarmacas

@edgarmacas it works! Many thanks!!! But there are many other problems between ScrollView and WebView like the touch event and so on.

leozzyzheng avatar Dec 02 '14 12:12 leozzyzheng

@yungpanda You should try to turn off the hardware acceleration of WebView:

    webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

chenglei1986 avatar Sep 28 '15 05:09 chenglei1986