iOS Question Searchview alpha

tufanv

Expert
Licensed User
Longtime User
Hello,

In searchview i cant change any propery of textview. For example in the module , there is :

B4X:
Public Sub AddToParent(Parent As Panel, Left As Int, Top As Int, Width As Int, Height As Int)
    Parent.AddView(et, Left, Top, Width, 40dip)
    Parent.AddView(lv, Left, Top + et.Height, Width, Height - et.Height)
    et_TextChanged("", "")
   

End Sub

If i add et.color =
or et.setalphaanimated the app freezes . So i cant change the backcolor or alpha of the textview of searchview. How can i fix this ?

TY
 
Top