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
Screenshot_2014-08-19-18-09-39.png

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
Screenshot_2014-08-19-18-10-50.png

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
Top