Hello friends!
Tried to use Erel's example of Template1.bal and it was supposed to be loaded.
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("template1.bal")
End Sub
But when I opened designer I didn't see the tamplate..not even it's name in the drop-down menu from "File" (I saved the project and run it again) anything missing?
Go to project folder and place the file in the folder 'Files'.
Go to the lower right IDE tab 'Files' and 'Add File', navigate and choose the file. It will appear in the list.
Do this for fonts or any other files you want included
The .bal file is unchecked automatically even after saving it.. when tried to load from files folder it said can't execute - out of memory, or somting like that.
The box should only be ticked if you are 'selecting' it, i.e. so that you can remove files, so that is not the problem. Leave that as it is now, it is correct.
I think you will have to look elsewhere for a memory problem.
Have you tried a new project solely for this test to eliminate everything else?