Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout1")
For Each v As View In Activity.GetAllViewsRecursive
Dim ref As Reflector 'get the class; this is not necessary
ref.Target = v 'this is not necessary
Log(ref.RunMethod("getClass")) 'this is not necessary
'get the position
Log("Left " & v.left & " Top " & v.Top & " Width " & v.Width & " Height " & v.Height)
Next
End Sub