Public Sub MoveViewBwPages(xView As B4XView, DestPageRoot As B4XView, Elevation As Int)
MoveViewBwPages2(xView, DestPageRoot, xView.Left, xView.Top, xView.Width, xView.Height, Elevation)
End Sub
Public Sub MoveViewBwPages2(xView As B4XView, DestPageRoot As B4XView, Left As Int, Top As Int, Width As Int, Height As Int, Elevation As Int)
xView.RemoveViewFromParent
DestPageRoot.AddView(xView, Left, Top, Width, Height)
' Here I would set the elevation of the xView's base.
End Sub