title: Android progressbar style
body: <p>I have 3 issues on my ProgressBar. First of all, I want to set the ProgressBar to be using the old yellow style with huge bar. Then, I want to set the color of the ProgressBar. Lastly, I want to set the margin of the ProgressBar. My code is as follow</p>
  
  <pre><code>ProgressBar statusPB = new ProgressBar(this, null, android.R.attr.progressBarStyleLarge);
                      statusPB.setId(300 + i);
                      statusPB.setProgress(mProgressStatus);
                      statusPB.getIndeterminateDrawable().setColorFilter(Color.parseColor("#D69E29"), android.graphics.PorterDuff.Mode.MULTIPLY);
                      TableRow.LayoutParams params = new TableRow.LayoutParams(160, 80);
                      params.setMargins(0, 0, 5, 0);
                      statusPB.setLayoutParams(params);
                      tr.addView(statusPB);
  </code></pre>
  
  <p>All three of them are not working. Changing <code>android.R.attr.progressBarStyleLarge</code> to <code>android.R.attr.progressBarStyleHorizontal</code> will create the new small progressbar with blue color. Setting the color using setColrFilter is not working either.</p>
  
  <p>Need some help here. Thanks!</p>