I am creating a dynamic menu using B4Xview panels as per code, but I would like them to keep the colors inherited or set from the primary panel (dark)
Also I was wondering if I can use the B4XView with more B4XCanvas, as if the B4XCanvas themselves were tissue but I find it difficult
example
panel (B4XView)
first layer (B4XCanvas) grid
second layer (B4XCanvas) ruler
third layer (B4XCanvas) DrawLine...
So you can draw only on the third layer without having to regenerate grid and righ
Also I was wondering if I can use the B4XView with more B4XCanvas, as if the B4XCanvas themselves were tissue but I find it difficult
example
panel (B4XView)
first layer (B4XCanvas) grid
second layer (B4XCanvas) ruler
third layer (B4XCanvas) DrawLine...
So you can draw only on the third layer without having to regenerate grid and righ
B4X:
Dim pnTeam As B4XView = Main.xui.CreatePanel("")
pnTeam.Color = Main.xui.Color_ARGB(255,29,29,29)
pnTeam.Width=128
pnTeam.Height=30
Dim svTeam As ScrollPane
svTeam.Initialize("")
svTeam.InnerNode=pnTeam
svTeam.SetVScrollVisibility("ALWAYS")
svTeam.SetHScrollVisibility("NEVER")
menuTools.AddView(svTeam,0,428,128,200)