Public Sub DesignerCreateView (As Base Panel, Lbl As Label, Props As Map)
I use:
B4X:
mBase = Base '<--- mBase is a Global variable
CallSubDelayed2(Me, "LoadExistingLayout", Base)
Then:
B4X:
Public Sub LoadExistingLayout (pnl As Panel)
pnl.LoadLayout ("Lay")
End Sub
How to access the Color of CustomView (Base/mBase)? Do I have to necessarily put the views of "Lay" inside a Panel? What role has the color of Activity of "Lay"?