MarcoRome Expert Licensed User Longtime User Jun 15, 2014 #1 Hi all i put in Panel webview object. 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: Why i have this white border ?? Thank you all in advance
Hi all i put in Panel webview object. 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: Why i have this white border ?? Thank you all in advance
LucaMs Expert Licensed User Longtime User Jun 15, 2014 #2 You should set the margin into your html file. Example: <body style="margin: 0px;"> Last edited: Jun 15, 2014 Upvote 0
MarcoRome Expert Licensed User Longtime User Jun 15, 2014 #3 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
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