Android Question [B4X] [XUI] B4XDialog - Custom dialogs with ANIMATION to show?

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Is possible to make animations on B4XDialog ? like appears from the bottom to top?

Imagine you have this layout inside a B4XDialog:

the idea is make this round panel coming from the bottom to this position

1582489245422.png


B4X:
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, 300dip, 500dip) 
p.LoadLayout("layPopLogin")

Dim pDialogBox As B4XDialog 
pDialogBox.Initialize(pBase)
pDialogBox.BorderColor = Colors.Transparent

Dim rs As ResumableSub = pDialogBox.ShowCustom(p,"","","")
 

Attachments

  • 1582489238791.png
    1582489238791.png
    60.4 KB · Views: 131

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Beautiful! works like a charm!
 
Upvote 0
Top