how to get device View area size(screen area without battery bar and command bar)

Printable View