Android Question Odd Canvas Behaviour - Possible Bug?

Gary Milne

Active Member
Licensed User
Longtime User
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?
 

Gary Milne

Active Member
Licensed User
Longtime User
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…