Android Question SOLVED Can't show a CustomMenu from Layout

scsjc

Well-Known Member
Licensed User
Longtime User
I try a custompanel with a (XUIViews version 1.70) B4XView to load layout...
but the result is: anywheresoftware.b4a.BALayout{c9d1735 V.E ......... }



the code use:

B4X:
    Dim pnl As B4XView = xui.CreatePanel("")
    pnl.SetLayoutAnimated(0, 0, 0, 100%x, 300dip) 'set the content size
    pnl.LoadLayout("dialog1")
    Dialog.PutAtTop = True 'put the dialog at the top of the screen

some idea where is a mistake?
thanks !!!
 

scsjc

Well-Known Member
Licensed User
Longtime User

i dont know why, but i clear the project and recompile and work
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…