So I'm dumb?

fabero

Member
Licensed User
Longtime User
I'm trying the trial release.

Android SDK ok, emulator connected, and a I've designed a simple gui.

I've also generate members, and next, I compile my simple project but the gui doesn't appear in my project, only an anonymous gui...

What I'm missing?
 

dealsmonkey

Active Member
Licensed User
Longtime User
I'm trying the trial release.

Android SDK ok, emulator connected, and a I've designed a simple gui.

I've also generate members, and next, I compile my simple project but the gui doesn't appear in my project, only an anonymous gui...

What I'm missing?

Have you got the command.

activity.loadlayout("name of your GUI")

This should appear as follows :


B4X:
Sub Activity_Create(FirstTime As Boolean)

If FirstTime Then   

End If               
      
activity.loadlayout("name of your GUI")   




end sub
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Where I cacth the name of my gui?
It's the name you gave to the layout file.
Click on the Files tab in the bottom right corner in the IDE, then you will see *.bal files in the list above. These files are the layout files.

Example: layout filename MainLayout.bal
Activity.LoadLayout("MainLayout")

Best regards.
 
Upvote 0

fabero

Member
Licensed User
Longtime User
It's the name you gave to the layout file.
Click on the Files tab in the bottom right corner in the IDE, then you will see *.bal files in the list above. These files are the layout files.

Example: layout filename MainLayout.bal
Activity.LoadLayout("MainLayout")

Best regards.

Tnx a lot..
 
Upvote 0
Top