Tip: you should never see Pane, PrefWidth and PrefHeight in your code.
B4X:
Dim pnl As B4XView = XUI.CreatePanel("pnl")
pnl.SetLayoutAnimated(0, ...) 'not really needed as you should add the panel to the parent at this point.
pnl.Rotation = 45
...
Tip: you should never see Pane, PrefWidth and PrefHeight in your code.
B4X:
Dim pnl As B4XView = XUI.CreatePanel("pnl")
pnl.SetLayoutAnimated(0, ...) 'not really needed as you should add the panel to the parent at this point.
pnl.Rotation = 45
...
Thanks Erel.
This is for the purpose of my learning:
can I assign mouse events to each panel using the respective tag as a filter in MainForm.RootPane.GetAllViewsRecursive, I mean without having to write a separate method for each panel?