title: Android's FULL screen size
body: <p>I want to get Android device's screen size. I'm using these 3 codes to do this but these are giving me the activity's size; which is without the size of the status bars height.
  On tablet with 800px height, this code gives 764px. 36px goes to status bar on the bottom.</p>
  
  <pre><code>    Display display = getWindowManager().getDefaultDisplay();
      Point size = new Point();
      display.getSize(size);
      final int width = size.x;
      final int height = size.y;
  
  
  
      Rect rectgle= new Rect();   
      Window window= getWindow();
      window.getDecorView().getWindowVisibleDisplayFrame(rectgle);
      int height2= rectgle.bottom;
  
  
  
      DisplayMetrics metrics = new DisplayMetrics();
      getWindowManager().getDefaultDisplay().getMetrics(metrics);
      int actualHeight = metrics.heightPixels;
  </code></pre>
  
  <p>But I need a code which gives me  <strong>the actual size of the screen.</strong>  Not the activity's. can anyone help me about this?
  Thank you.</p>