I have noticed that I cannot set a transparent color to a WebView in B4A 2.3, I have an old code, loaded to B4A 2.3, compiled and no problem, as soon as I modify the layout containing the webview I cannot set its color to transparent, the workaround I have is to set it like this:
The code above will show a SOLID BLACK background on ICS, HoneyComb and Froyo, on JellyBean I get a transparent background.
If I do this, I see the default white background on the WebView
Can anyone confirm this?
I'm running B4A 2.30, SDK 17 and JDK 7 update 9
Thanks
Note to add: Adding a DoEvents seems to solve the issue but doesn't work on ICS, or at least on my Galaxy Tab.
B4X:
WebView1.Color = Colors.ARGB(1, 0, 0, 0)
The code above will show a SOLID BLACK background on ICS, HoneyComb and Froyo, on JellyBean I get a transparent background.
If I do this, I see the default white background on the WebView
B4X:
WebView1.Color = Colors.Transparent
Can anyone confirm this?
I'm running B4A 2.30, SDK 17 and JDK 7 update 9
Thanks
Note to add: Adding a DoEvents seems to solve the issue but doesn't work on ICS, or at least on my Galaxy Tab.
Last edited: