Android Question xCustomListView backcolor

yaniv hanya

Active Member
Licensed User
Screenshot_2019-07-30-17-20-06.png

The attached image has two xCustomListView
I try to have both transparent backs.
In the designer they aim for black color and transparency 0.
And still one opaque black and one white as you can see.
How do I fix it?
 

yaniv hanya

Active Member
Licensed User
This is one screen that all controls are configured and placed by the designer.
The activity has a background image (the green blue cloud background in the picture above) that I expect to see behind the lists
 
Upvote 0

yaniv hanya

Active Member
Licensed User
No.
It is added by

B4X:
Dim vi As itemValues
        vi.Initialize
        tempCLV.Add(CreateItem(f,vi),vi)

Sub CreateItem(f As ExternalFile,vi As itemValues) As B4XView
    Dim p As B4XView=xui.CreatePanel("")
    p.SetLayoutAnimated(0,0,0,100%x,40dip)
    p.LoadLayout("fileListItem")
    vi.ef=f
    vi.cb=addFileCb
    vi.lb=fileNameLb
    fileNameLb.Text=f.Name
    If f.IsFolder Or IsImageFile(f.Name)=False Then
        vi.cb.Visible=False
        vi.cb.Enabled=False
    End If
    Return p
End Sub

This is a layout with a label and a checkbox that appears if it's an image file so the user can select it for copy
this is way you don't see it in the picture because there are only folders there.
And the layout and the checkbox and label are also set to be transparent
 
Upvote 0

Similar Threads

Top