Android Question WebView - Border White

MarcoRome

Expert
Licensed User
Longtime User
Hi all i put in Panel webview object.

webview2.png


in Activity_create i add:

B4X:
    Activity.LoadLayout("relax")
    WebView1.LoadURL("http://www.queenandroid.com/relax/relax.html")

code relax.html:

B4X:
<html><body><img src="energy.gif" loop=infinite /> </body></html>


When App start i have this result:

webview1.jpg


Why i have this white border ??
Thank you all in advance
 

MarcoRome

Expert
Licensed User
Longtime User
Very Good Work ;)
This is code:
B4X:
<html><body><img src="energy.gif" loop=infinite width="500" height="600"> <body topmargin="0">
<body leftmargin="0"></body></html>

Thank's Luca
 
Upvote 0
Top