private email as FloatLabeledEditText
diag.Initialize(barp)
....
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, 90%x, 400dip)
p.LoadLayout("layout")
email.EditText.Enabled=False 'or using email.Enabled=False both doesn't work and I can edit the field which is not the desired outcome.
Wait For (diag.ShowCustom(p, "حفظ", "", "الغاء")) Complete (Result As Int)
....