Hi,
I am having trouble adjusting the colours etc on ABMList objects in my app. I know that it is seeing something as the .colorize setting seems to make a difference, but I cannot seem to make anything else stick, help would be appreciated... My code is as follows
I am adding items with the theme bit too as below, but it does not seem to do anything except for the colorize.
I am having trouble adjusting the colours etc on ABMList objects in my app. I know that it is seeing something as the .colorize setting seems to make a difference, but I cannot seem to make anything else stick, help would be appreciated... My code is as follows
B4X:
MyTheme.AddListTheme("GTList")
MyTheme.List("GTList").Colorize(ABM.COLOR_GREEN)
MyTheme.List("GTList").ItemBackColor=ABM.COLOR_GREEN
MyTheme.List("GTList").ItemActiveColor=ABM.COLOR_GREEN
MyTheme.list("GTList").ItemActiveColorIntensity=ABM.INTENSITY_LIGHTEN4
MyTheme.List("GTList").SubItemBackColor=ABM.COLOR_BLUE
MyTheme.List("GTList").BackColorIntensity=ABM.INTENSITY_LIGHTEN4
I am adding items with the theme bit too as below, but it does not seem to do anything except for the colorize.
B4X:
listemp.AddItemwiththeme("H" & rs.getint("stf_ID"), ListTopLevel("L1H1","mdi-action-account-circle",rs.Getstring("name") & strTL & " (Left)","dot_red","Expired","dot_green","Valid"),"gtlist")