Re: [android-developers] How to get the real device screen size

2012-01-20 Thread TreKing
On Thu, Jan 19, 2012 at 8:03 AM, Eric Tseng wrote: > Like my device, I'd like to get 1280*800 not 1280*752(which > excludes status bar). > Hide the status bar first? - TreKing

[android-developers] How to get the real device screen size

2012-01-20 Thread Eric Tseng
While I'm developing my app, I need to get my device physical size. But the current functions like display.getSize() or heightPixels in DisplayMetrics return the sizes which exclude the decorations like status bar. Like my device, I'd like to get 1280*800 not 1280*752(which excludes status bar). Is