Hi Sam,

I now have an emulator running with a huge screen.

But my app is designed to stretch to fit the screen. When launching it
it just took half the space. Debugging the matter it happens that :

                Display display = ((WindowManager) context
                                
.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
                int clientWidth = display.getWidth();
                int clientHeight = display.getHeight();

returns 320x480 :(

I had to set the targetSdkVersion to 4 in the android Manifest to get
it to show the actual 600*1024.

I can't explain why, but I think it has to do with the fact that
medium dpi is used as a default.

Yahel

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to