In API 3.2 when you get the screen height, it seems that return value
is the screen height minus the height menu bar. Here is the code:
((WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getMetrics(metrics);
int height=metrics.heightPixels;

For API 3.2 emulator with 1280x800 screen size, the height return is
752

I tried to get the height with methods but always return 752

I need to know the real height value because in portrait the menu bar
don“t have influence in the drawable zone.

Any ideas?

-- 
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