I have a HTC Desire and I'm developing a game. I noticed that the dimensions I get from the surfaceChanged callback is 320 x 508 in portrait and 533 x 295 in landscape orientation. This seems too small since the physical screen is 480 x 800. The width from surfaceChanged should be 480 and the heigth should be slightly less because of the status bar.
Drawing a rectangle with the dimensions from the callback fills out the whole screen!
I have upgraded to Froyo.
Am I missing something?
Drawing a rectangle with the dimensions from the callback fills out the whole screen!
I have upgraded to Froyo.
Am I missing something?