I need to put a border for my webview I tried this sample code but not working for webview.This works for imageview,panel and all
B4X:
Sub DrawBorder(Target As View, aColor As Int, StrokeWidth As Int)
Dim c As Canvas
c.Initialize(Target)
Dim r As Rect : r.Initialize(0, 0, Target.Width - StrokeWidth, Target.Height - StrokeWidth)
c.DrawRect(r, aColor, False, StrokeWidth)
Target.Invalidate
End Sub