Hi,
how i messure the needed higth in a WebView?
reports 819 on my Tablet. near 200 dip is a good value.
how i messure the needed higth in a WebView?
B4X:
Dim ret As Int
Dim cd As CustomDialog
Dim WebMsg As WebView
Dim Wvx As WebViewExtras
WebMsg.LoadHtml(sbn.ToString)
Wait For WebMsg_PageFinished(Url As String)
WebMsg.Initialize("WebMsg")
Wvx.GetContentHeight(WebMsg)
cd.AddView(WebMsg,5dip,5dip,85%x,80%y)
ret=cd.Show(titel,pos,can,neg,Null)
reports 819 on my Tablet. near 200 dip is a good value.