G gkumar Active Member Licensed User Longtime User Mar 30, 2012 #1 Could anyone tell me what is the difference between Layout and Panel ?
klaus Expert Licensed User Longtime User Mar 30, 2012 #2 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
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.
G gkumar Active Member Licensed User Longtime User Mar 30, 2012 #3 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
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 !
klaus Expert Licensed User Longtime User Mar 30, 2012 #4 You should post your project as a zip file (IDE menu Files / Export As Zip). So we could see what you have done and how and test it in the same conditions as you do and therefore give you the best advice.. Best regards. Upvote 0
You should post your project as a zip file (IDE menu Files / Export As Zip). So we could see what you have done and how and test it in the same conditions as you do and therefore give you the best advice.. Best regards.
J Jost aus Soest Active Member Licensed User Longtime User Mar 30, 2012 #5 gkumar said: getting "java.io.FileNotFoundException: (balayout): layout not available.bal" error. Click to expand... Often this is caused by typing errors. You know, that B4A aka Android aka Unix distinguish upper-case and lower-case letters? Upvote 0
gkumar said: getting "java.io.FileNotFoundException: (balayout): layout not available.bal" error. Click to expand... Often this is caused by typing errors. You know, that B4A aka Android aka Unix distinguish upper-case and lower-case letters?