How can I programmatically set the screen resolution?

if you dont want to have the screen stretched, give the user settings for aspect ratios.
thats what i have done for görtan. 4:3 for tablets and 3:2 or 16:9 for phones.

i did use the felgo template UlisesFreitas has linked aswell :slight_smile:

still not always perfectly boarderless but everything looks good and is in place.