B4X:
'Root As Form
'
Dim Dialog As B4XDialog
Dialog.Initialize(Root.RootPane)
Dim CustomPanel As B4XView
CustomPanel = xui.CreatePanel("")
CustomPanel.SetLayoutAnimated(0, 0, 0, Root.Width - 160dip, Root.Height - 190dip)
CustomPanel.LoadLayout("LayoutClienti")
' there are many TextField and Label on Vertical axis, and on PC with low resolution (example 800 x 600)
' not all objects are displayed
'into LayoutClienti, there is a Pane and ALL TextField
'
Dialog.BackgroundColor = xui.Color_White
Dialog.ButtonsColor = xui.Color_White
Dialog.BorderColor = xui.Color_Gray
Dialog.ButtonsTextColor = 0xFF007DC3
Dialog.Title = "Clienti"
'
Dim rs As Object = Dialog.ShowCustom(CustomPanel, "OK", "NO", "")
Wait For (rs) Complete (Result As Int)
this is start-up of new project, and i can modify all (layout and code)