S susu Well-Known Member Licensed User Longtime User Dec 17, 2014 #1 Hi, it's me again. I set WebView background to transparent but it's still white? There're 2 lines on right and bottom of WebView although I hide the scroll bar? Please find attachment for the code. Thank you. Attachments webview.zip 402.8 KB · Views: 186
Hi, it's me again. I set WebView background to transparent but it's still white? There're 2 lines on right and bottom of WebView although I hide the scroll bar? Please find attachment for the code. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Dec 17, 2014 #2 Try to set the page background color to transparent in the html code. Upvote 0
S susu Well-Known Member Licensed User Longtime User Dec 17, 2014 #3 Erel said: Try to set the page background color to transparent in the html code. Click to expand... I tried to set the background in html code but it didn't work. However, I found the way by using NativeObject. B4X: Dim no As NativeObject = WebView no.SetField("opaque", False) It took 2 days to fix it Upvote 0
Erel said: Try to set the page background color to transparent in the html code. Click to expand... I tried to set the background in html code but it didn't work. However, I found the way by using NativeObject. B4X: Dim no As NativeObject = WebView no.SetField("opaque", False) It took 2 days to fix it