I've made my game work on a single resolution. Now I want it to scale up&down automatically to fit the display size. When I draw upscaled images to the canvas on a big screen, they'll get slightly blurry but that's ok. I've locked the orientation to landscape. When the aspect ratio of the screen doesn't match that of my game, I want the app to get padding on the left&right or on the top&bottom, so the aspect ratio is preserved. I don't want to design separate layouts for different resolutions.
I could relatively easily do the scaling&padding stuff myself on the canvas (including transforming mouse events), but this seems like a basic issue so I was wondering if there's a better method built-in to XDK.