Get application/window specific screen size

HI all

I am currently using driver.get_window_size() in my python script get screen resolution. For Nexus 7, it returns 1280 and 736. I am assuming it display height as 736 and not 800 due to the menu bar. However my application is a full size application 1280,800. Is there a way I can get the size based on a window/application?