Why isn't the designer layout included in Generate Members?

BarrySumpter

Active Member
Licensed User
Longtime User
Why isn't the designer layout included in Generate Members?
+ _ Activity Create
_ Layout "Main"
_ Layout "Splash"
_ Layout "etc"


B4X:
Sub Activity_Create(FirstTime As Boolean)

    Activity.LoadLayout("Main")
....
 

margret

Well-Known Member
Licensed User
Longtime User
The designer does not know if this is the main layout for the activity or an overlay for other use. You may also load it into a panel, etc. Layouts can be loaded at anytime in the activity. The majority of layouts I create are not loaded in the activity_create, however the variables have to be there no matter where the activity is loaded from.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…