I am starting work on an app using the scene graph xml SDK. I like the idea of putting fixed locations, sizes, etc. in the declarative part of the XML. The problem I am running into is that often times, these items depend on the screen resolution. I end up calculating these properties in the init() function of the element in question. That's kind of a shame, because there are only 3 resolutions at the moment (sd,hd,fhd). It seems like there should be a way to specify coordinates and sizes that depend on the mode. For instance, make a font size 30 in hd mode and 40 in fhd, size a rectangle with one width in hd and another width in fdh, etc. It looks like there is support for loading different images in different resolutions using uri_resolution_autosub in the manifest file, but apparently that only applies to images.
Anyway, I have not figured out a way to do this. Any clues?
That is a great and very relevant question! Read first this recently discovered is that when in 720p, Roku player just scales the channel icons from 540x405 (channel store info) and 290x218 (home screen) - down to 360x270 and 193x145. So look at them in 720, do they look bad?