marcick Well-Known Member Licensed User Longtime User Jan 20, 2016 #1 I'm trying to using this class loading a layout instead of creating the views runtime, but I obtain a blank page. What's wrong in my code (I would expect to see the first line of the list as in the layout ClvOptions) ? Code: Copy NavControl.ShowPage(Page2) clv1.Initialize(Me, "clv1", 100%X) Dim pl As Panel pl.Initialize("") pl.LoadLayout("ClvOptions") clv1.Add(pl, 60dip, pl) Page2.RootPanel.AddView(clv1.AsView, 0, 0, 100%x, 100%y)
I'm trying to using this class loading a layout instead of creating the views runtime, but I obtain a blank page. What's wrong in my code (I would expect to see the first line of the list as in the layout ClvOptions) ? Code: Copy NavControl.ShowPage(Page2) clv1.Initialize(Me, "clv1", 100%X) Dim pl As Panel pl.Initialize("") pl.LoadLayout("ClvOptions") clv1.Add(pl, 60dip, pl) Page2.RootPanel.AddView(clv1.AsView, 0, 0, 100%x, 100%y)
marcick Well-Known Member Licensed User Longtime User Jan 20, 2016 #2 Found a sample from Erel where to study, hope to solve https://www.b4x.com/android/forum/threads/customlistview-resizing-problems.56621/ Upvote 0
Found a sample from Erel where to study, hope to solve https://www.b4x.com/android/forum/threads/customlistview-resizing-problems.56621/
moore_it Well-Known Member Licensed User Longtime User Jan 22, 2016 #3 why not use library iTableview ? Upvote 0
marcick Well-Known Member Licensed User Longtime User Jan 22, 2016 #4 Because I didn't see it ! Looks great, thank you very much Upvote 0
moore_it Well-Known Member Licensed User Longtime User Jan 22, 2016 #5 https://www.b4x.com/android/forum/threads/tableview-with-custom-items.51205/#content Upvote 0