title: ProgressBar Height issue in Android Version 4.4.2 (Samsung)
body: <p>I am using ProgressBar in my application. And I am also showing value on it.<br><br>
  But Issue is something else here. I am not getting Proper height in <code>Android Version 4.4.2</code>
  <br><br>
  <strong>My Code :</strong></p>
  
  <pre><code>Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
      @SuppressWarnings("deprecation")
      int ratio = ((int) display.getWidth() / 100)* value;
      ((ProgressBar) view).setProgress(ratio);
  
      RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(ratio, 35);
      ((ProgressBar) view).setLayoutParams(params);
  </code></pre>
  
  <p><strong>Progressbar layout.xml:</strong></p>
  
  <pre><code>&lt;ProgressBar
       style="?android:attr/progressBarStyleHorizontal"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>Here, I am setting Width and height of <code>ProgressBar</code>. It is working fine in all versions. But Issues on android Version 4.4.2.<bR><Br>
  <strong><em>Note:</em> I have tested it on Emulator and I am getting perfect height in Android Version 4.4.2. Then I tested it on Samsung Galaxy S4 (version 4.4.2), getting issue in this mobile</strong>
  <br><Br>
  Check image below, for same code :<br>
  <img src="https://i.stack.imgur.com/Y3Fob.png" alt="Progress bar"></p>