Ryan Kelly Ryan Kelly - 1 year ago 85
Android Question

Android webview has white border around it and how can i get rid of it?

I have a android app using a webview to load a webpage, however in the graphical layout and in the app it shows a white thick border, I tried resizing and I tried changing the width and height in the XML layout file, but no change. Please check the below image for reference.

enter image description here

Answer Source

This white border that you can see might be just from the background of the layout container of the webview. Please make sure that you don't have a padding on the layout or margin on the webview.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download