Gary Milne Active Member Licensed User Longtime User Aug 20, 2014 #1 I'm using a Scrollview for configuring Application Settings. If the Height is set to B4X: pnlSettings(i).Height = 388%y it display normally If I increase the Height beyond this ie B4X: pnlSettings(i).Height = 389%y then everything that is written to the Canvas disappears leaving just the Views visible This is true in both Release and Debug mode. Is there some inherent limit to a Canvas or Scrollview that is at play here?
I'm using a Scrollview for configuring Application Settings. If the Height is set to B4X: pnlSettings(i).Height = 388%y it display normally If I increase the Height beyond this ie B4X: pnlSettings(i).Height = 389%y then everything that is written to the Canvas disappears leaving just the Views visible This is true in both Release and Debug mode. Is there some inherent limit to a Canvas or Scrollview that is at play here?
Erel B4X founder Staff member Licensed User Longtime User Aug 20, 2014 #2 What is the value of Log(389%y)? ScrollView doesn't have any limit. Creating a Canvas for a very large image may require too much memory. Upvote 0
What is the value of Log(389%y)? ScrollView doesn't have any limit. Creating a Canvas for a very large image may require too much memory.
Gary Milne Active Member Licensed User Longtime User Aug 20, 2014 #3 It was 3.89 times the screen height on a current generation Nexus so perhaps it was a big canvas that was the problem. I have changed my routine to use a Tabhost and smaller canvases which is just fine as a substitute. Upvote 0
It was 3.89 times the screen height on a current generation Nexus so perhaps it was a big canvas that was the problem. I have changed my routine to use a Tabhost and smaller canvases which is just fine as a substitute.