App Inventor's apps resize background image and other content depending on screen size

user1797813 picture user1797813 · Nov 4, 2012 · Viewed 9.3k times · Source

I am programming with app inventor and I want my app to support all screen resolutions and aspect ratios and the background image and the other content resize depending on screen size. How can i do this?

More specific, I have a canvas fill parents, and I want the background image of this canvas fill also parent, but I can only set the size of this image by pixels. Can someone help me?

Answer

Taifun picture Taifun · Nov 4, 2012

You said, you set the canvas width and height to fill parents. To make sure that this works also for the height, set screen.scrollable to false and test it on your device.

screenshot designer window
enter image description here

screenshot device

screenshot