Android Question Problem with webview

Giusy

Active Member
Licensed User
Hi, I have a problem with webview.
I have create a little program to test it.
At the top a green panel, after a yellow panel and then a red panel for webview.
The "html" contain 12 phrases.
Why the html don't fill all the red area?
In landscape it's even worse.
Where am I wrong?
What are the right instructions?
Thanks
 

Attachments

  • PROVASCROLL.zip
    9.9 KB · Views: 166

Semen Matusovskiy

Well-Known Member
Licensed User
B4X:
PANELWEB.AddView(WebView1, 0%x,0%x, 100%x, 100%x)

If you want to cover whole PANELWEB
B4X:
PANELWEB.AddView(WebView1, 0, 0, PanelWeb.Width, PanelWeb.Height)
 
Upvote 0
Top