I'm trying to make search template in light theme. Have succeed in part of it, but missing last one. This is how it looks now:
What I would like to do is color items with white background and black font color.
What I have tried are few options or ideas which came to my mind :
In this one, "SearchTemplate.CustomListView1.Size" is 0.
Have put TryCatch as it returns "Type does not match"
Any ideas ?
What I would like to do is color items with white background and black font color.
What I have tried are few options or ideas which came to my mind :
B4X:
For a = 0 To SearchTemplate.CustomListView1.Size-1
Dim pnl As B4XView
pnl = SearchTemplate.CustomListView1.GetPanel(a)
pnl.Color = Colors.White
For Each ob As B4XView In pnl.GetAllViewsRecursive
ob.Color = XUI.Color_Transparent
ob.TextColor = TextColor
Next
Next
B4X:
For Each pp As B4XView In SearchTemplate.mBase.GetAllViewsRecursive
Try
pp.Color = XUI.Color_Transparent
pp.TextColor = TextColor ' teksta
Catch
Log(LastException)
End Try
Next
Any ideas ?