I am having trouble understanding the workings of webviews.
I have set up a layout with the designer and I then call the webview like this.
Activity.LoadLayout("mylayout")
WebViewr1.Initialize("WebViewr1")
Activity.AddView(WebViewr1,0,0,180,150)
What is clear is that this overwrites the webview that the layout sets up.
For example if I change the last line to
Activity.AddView(WebViewr1,0,0,100%x,100%y)
I get a webview which completely fills the phone's screen.
I need to know how I reference the webview in the layout without overwriting it.
I have set up a layout with the designer and I then call the webview like this.
Activity.LoadLayout("mylayout")
WebViewr1.Initialize("WebViewr1")
Activity.AddView(WebViewr1,0,0,180,150)
What is clear is that this overwrites the webview that the layout sets up.
For example if I change the last line to
Activity.AddView(WebViewr1,0,0,100%x,100%y)
I get a webview which completely fills the phone's screen.
I need to know how I reference the webview in the layout without overwriting it.