Dim Clrs(2) As Int
Clrs(0) = Colors.White ' The one you want, not going to use
Clrs(1) = Colors.White ' The one you want, not going to use
GradientColor.Initialize("TL_BR",Clrs) ' The one you want, not going to use
GradientColor.CornerRadius = 15dip ' To round the corners
Dim Panel1 as Panel
panel1.Initialize("")
panel1.Background = GradientColor
Activity.AddView(panel1,0,0,100%x,100%y) 'The size of your webview
dim webview1 as WebView
dim webview1.Initialize(Event name)
panel1.AddView(webview1,left,Top,100%x,100%y) 'The size of your webview