When are you calling this? I routinely get the tablets' full screen sizes via this method in onCreate
Peace, Dan On Sep 13, 5:22 pm, avillar <alfonso.vil...@gmail.com> wrote: > 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)).getDefau > ltDisplay().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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en