Dim ViewType As String
For Each V As View In Panel1.GetAllViewsRecursive
ViewType = GetType(V)
Log(ViewType)
If ViewType.EndsWith("Button") Then
Log("Is a button")
Else If ViewType.EndsWith("TextView") Then
Log("Is a Label")
Else If ViewType.EndsWith("EditText") Then
Log("Is an EditText")
Else
End If
Next