B4X:
Dim view1 As JavaObject
view1.IsInitialized
view1.InitializeStatic("android.view.View")
Activity.AddView(view1,0,0, 100dip,100dip)
B4X:
Dim jo As JavaObject
Dim view1 As View=jo
'view1.IsInitialized
Activity.AddView(view1, 0, 0, 200dip, 200dip)
both can not add view to activity