I seem to have a timing issue with views loaded through LoadLayout. I have a Designer file with one xCustomListView on it.
When I do this:
my listview does not take up the entire space. However, when I execute the resize code on a button press, things seem to work fine. Do I need to put a sleep after the layout is loaded?
When I do this:
B4X:
Root.LoadLayout("MainPage")
ListView.AsView.Height = 100%y
ListView.AsView.Width = 100%x
ListView.AsView.left = 0
ListView.AsView.top = 0
ListView.Base_Resize(100%x,100%y)