title: Getting rid of the Android Action bar.
body: <p>When I create an android app this is generated automatically: </p>
  
  <p><img src="https://i.stack.imgur.com/Y5MV0.png" alt="enter image description here"></p>
  
  <p>How do I get rid of this? Its ugly</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>    WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
      Display display = wm.getDefaultDisplay();
      Point size = new Point();
      display.getSize(size); 
      screenWidth = size.x;
      screenHeight = size.y;
  </code></pre>