The above code is from Basic4ppc, not Basic4android.
You should use the search box in the top right corner. It will only return Basic4android results.
Here is the correct code:
For i = 0 To Activity.NumberOfViews - 1
Dim v As View
v = Activity.GetView(i)
v.Enabled = False
Next