I went through and double-checked that only edittext views have a tag property of 1.
Just to ensure I tested
B4X:
Sub btnClearAll_Click
For i = 0 To Activity.NumberOfViews - 1
Dim v As View
v = Activity.GetView(i)
If v is EditText then
If v.Tag=1 Then
v.text = ""
End If
End if
Next
End Sub
Sub btnClearAll_Click
For i = 0 To Activity.NumberOfViews - 1
Dim v As View
v = Activity.GetView(i)
If v is EditText then
dim vt as EditText = v
If vt.Tag=1 Then
vt.text = ""
End If
End if
Next
End Sub