B4J Question [ABMaterial] ABMlist background color

alienhunter

Active Member
Licensed User
Hi
I try to color the list but i do not get it right , i tried all
how would I color this white space ?

thanks AH

B4X:
     theme.AddListTheme("list")
    theme.List("list").ItemDividerColor=ABM.COLOR_RED
    theme.List("list").SubItemDividerColor=ABM.COLOR_RED
    theme.List("list").BackColor=ABM.COLOR_BLUEGREY
    theme.List("list").ItemBackColor=ABM.COLOR_BLUEGREY
    theme.List("list").BackColorIntensity=ABM.INTENSITY_DARKEN1
    theme.List("list").ItemBackColorIntensity=ABM.INTENSITY_DARKEN1
    theme.List("list").ItemActiveColor=ABM.COLOR_BLUEGREY
    theme.List("list").ItemHoverColor=ABM.COLOR_RED
    theme.List("list").SubItemActiveColor=ABM.COLOR_RED
    theme.List("list").ZDepth=ABM.ZDEPTH_4
Capture.PNG
 

Harris

Expert
Licensed User
B4X:
theme.AddListTheme("refer")
theme.List("refer").AddItemTheme("green")
theme.List("refer").Item("green").BackColor = ABM.COLOR_GREEN
theme.List("refer").Item("green").BackColorIntensity = ABM.INTENSITY_LIGHTEN4
theme.List("refer").AddItemTheme("yellow")
theme.List("refer").Item("yellow").BackColor = ABM.COLOR_YELLOW
theme.List("refer").Item("yellow").BackColorIntensity = ABM.INTENSITY_LIGHTEN4

list3.AddItemWithTheme(id, BuildSimpleListItem(...), "green")
From feedback.abmaterial.com


I have not tried it, but you may...
 
Top