R RJB Active Member Licensed User Longtime User Feb 7, 2018 #1 The following doesn't seem to work. Any ideas where I'm going wrong? B4X: Dim bd As BitmapDrawable bd.Initialize(LoadBitmapSample("", ImagePath, 400,300)) bd.Gravity = Gravity.FILL WViewer.Background = bd WViewer.Invalidate
The following doesn't seem to work. Any ideas where I'm going wrong? B4X: Dim bd As BitmapDrawable bd.Initialize(LoadBitmapSample("", ImagePath, 400,300)) bd.Gravity = Gravity.FILL WViewer.Background = bd WViewer.Invalidate
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2018 #2 It will not work. WebView overrides the background with its own background. You can set it with LoadHtml. Upvote 0
It will not work. WebView overrides the background with its own background. You can set it with LoadHtml.
R RJB Active Member Licensed User Longtime User Feb 7, 2018 #3 Erel said: It will not work. WebView overrides the background with its own background. You can set it with LoadHtml. Click to expand... OK thanks, as you know I have been using LoadHTML but thought this might be a way around the problems I was having. Could the description for .Background be modified to say that it doesn't work? Thanks Upvote 0
Erel said: It will not work. WebView overrides the background with its own background. You can set it with LoadHtml. Click to expand... OK thanks, as you know I have been using LoadHTML but thought this might be a way around the problems I was having. Could the description for .Background be modified to say that it doesn't work? Thanks