My device (480x854 pixels) is set to portrait mode.
I load a locale page HTML into a WebView.
The page HTML is a table with width set to 470 pixel
Vertical scrolling is perfect.
Horizontal scrolling "swerves" to the right or left of a few tens of pixels, almost as if the page was about 800 or 900 pixels wide.
What parameters should I set the WebView for easy operation ?
I would not be possible in practice that scroll horizontally.
Thanks
I load a locale page HTML into a WebView.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Dim h As String
Dim NomeFile As String
Activity.LoadLayout("HelpHtml")
Activity.Title = "AIUTO"
WebView1.Initialize("WebView1")
Activity.AddView(WebView1, 0, 0, 100%x, 100%y)
NomeFile="Mio_taccuino_per_android.htm"
h = ReadTextReader (NomeFile)
WebView1.LoadHtml(h)
End Sub
The page HTML is a table with width set to 470 pixel
B4X:
<table border="0" cellpadding="0" cellspacing="0" style="font-size: 12 px; font-family: Arial" width="470">
Vertical scrolling is perfect.
Horizontal scrolling "swerves" to the right or left of a few tens of pixels, almost as if the page was about 800 or 900 pixels wide.
What parameters should I set the WebView for easy operation ?
I would not be possible in practice that scroll horizontally.
Thanks