Definining KineticJS Stage I go like this:
var stage = new Kinetic.Stage({
container: 'container',
width: 320,
height: 480
});
So width and height of stage are fixed size. How to stretch it to fit on phone screen if resolution is different?
Well, this is really a javascript question. You want to make the size of the stage same as the window size. This worked for me on my android project:
Edit:
Additionally, I recommend you add jQuery as well so you can check for orientation changes, then you can do something like:
or you could do: