Android Question for loop for edittext color

paul allen

Member
Licensed User
Longtime User
is there an example for changing the color of an edittext color for a bunch of edittext fields?
 

Xandoca

Active Member
Licensed User
Longtime User
B4X:
    Dim edt As EditText
    For Each v As B4XView In Root.GetAllViewsRecursive
        If edt Is EditText Then
            edt.color = xui.Color_Blue           
        End If
    Next
 
Upvote 0
Top