title: android get screen size including the size of status bar and software navigation bar
body: <p>How can I get the size of the screen in pixels with navigation bar and status bar being included?</p>
  
  <p>I have already tried getting the size using <code>DisplayMetrics</code> but the size doesn't include the software navigation bar.</p>