I'm facing an issue when using B4Xdialogs in B4Xpages. I've added B4XDialog in B4XPage and The B4XDialog is poping behind the view of B4Xpage elements/layout.
I've attached a screenshot.
This is the code I've used,
Code:
dialog.Initialize(Root)
dialog.PutAtTop=True
Dim pnl as B4XView = xui.CreatePanel("")
pnl.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)
pnl.LoadLayout("add_student_image_select")
Dim rs As Object = dialog.ShowCustom(pnl, "Ok", "", "")
Wait For (rs) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
End If
If anyone knows how to fix this. Please let me know. Thank you
"Having had" to study the source code of the XUI Views a bit, I noticed that, in the B4A version, the elevation of the Background panel of the B4XDialog has been set to 4dip. This is obviously a problem, if there was a View with higher elevation in the underlying layout (to avoid writing...
Hello Problems with the xui views dialogs. I have on my activity a e.g. panel with elevation > 4 this is put over the xui view dialog. it would be good if you could change the elevation in the 'background' of the dialogs. regards Frank