title: How do I get the height and width of the Android Navigation Bar programmatically?
body: <p>The black navigation bar on the bottom of the screen is not easily removable in Android. It has been part of Android since 3.0 as a replacement for hardware buttons. Here is a picture:</p>
  
  <p><img src="https://i.stack.imgur.com/DhCin.png" alt="System Bar"></p>
  
  <p>How can I get the size of the width and the height of this UI element in pixels?  </p>