Ryan Kelly Ryan Kelly - 26 days ago 10
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

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.

Comments