Differece Between Layout and Panel ?

A Panel is a container view that holds other views.
A Layout is a file contaning a layout of views and is defined in the Designer.

A Layout can contain Panels.

Layouts must be loaded in the code, either onto Activities or Panels with LoadLayout.

Best regards.
 
Upvote 0
Thanks for your reply..

I have added one panel and one tabhost and saved as a layout file.
and trying to add 4 tabs with 4 different panels thru code.

but while debug, getting "java.io.FileNotFoundException: (balayout): layout not available.bal" error.

In Activity_Create sub called LoadLayout, Panel.Initialize, and AddTab subs.
dont know what I am missing here !
 
Upvote 0
Back
Top