Hi,
How can I define Top or center a XUI View Dialog?
Looking at the XUI Views Example the following dialog is at top of the screen:
Horizental is centered, but always on Top.
Is there a way to have it centered horizentally and vertically based on the format?
Kind regards,
André
How can I define Top or center a XUI View Dialog?
Looking at the XUI Views Example the following dialog is at top of the screen:
B4X:
Sub btnSearch_Click
Wait For (Dialog.ShowTemplate(SearchTemplate, "", "", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
btnSearch.xLBL.Text = SearchTemplate.SelectedItem
End If
End Sub
Horizental is centered, but always on Top.
Is there a way to have it centered horizentally and vertically based on the format?
Kind regards,
André