Hi.
I'll try to create a xCLV with items where base Panel has a trasparency in backgound color but something grey always appear
My xCLV has a backgroun color: without item is all OK
My Item Layout is fully transparent (activity and all views with Color #00FFFFFF)
If i add an Item without trasparency all work well and ItemPanel is correctly colored
B4X:
Dim c As Customer=customers.Get(0)
Dim p As B4XView=xui.CreatePanel("")
p.SetLayoutAnimated(0,0,0,100%x,150dip)
p.LoadLayout("CustomerItem")
p.Color=xui.Color_White '<-- Total White is OK
p.SetColorAndBorder(p.Color,2dip,xui.Color_ARGB(255,255,97,0),5%y)
But if i'll try to use a transparency (like in this code) there is somthing grey in some base panel that ruin my goal.
B4X:
Dim c As Customer=customers.Get(0)
Dim p As B4XView=xui.CreatePanel("")
p.SetLayoutAnimated(0,0,0,100%x,150dip)
p.LoadLayout("CustomerItem")
p.Color=xui.Color_ARGB(30,255,97,0) '<-- Color HERE
p.SetColorAndBorder(p.Color,2dip,xui.Color_ARGB(255,255,97,0),5%y)
I have already set Divider Height to 0.
"something grey" is in a view under the panel.
The panel color is ok but under there seem to be another grey "panel".
Tomorrow i'll try to create a little app for this problem.
Thanks for your patience.
I have create a little APP that load 4 items in xCLV with 4 level of transparency.
In the Activity bottom there is a label "EFFECT" that show my purpose for relative items (when you click on it).
The difference between item background and label effect background is my issue.
It's obvious that in xCLV there is a grey panel under each item but i can't find it.
I can't understand.
With your APP is all good on all my devices too.
With my APP, on all my devices i have the result (with all colors) in attached screenshot.