title: How to set color to secondary drawable in progress bar
body: <p>I have this code </p>
  
  <pre><code> pb = (ProgressBar) findViewById(R.id.progressBar1);
      final float[] roundedCorners = new float[] { 5, 5, 5, 5, 5, 5, 5, 5 };
      ShapeDrawable pgDrawable = new ShapeDrawable(new RoundRectShape(roundedCorners, null, null));
      String MyColor = "#00FF00";
      pgDrawable.getPaint().setColor(Color.parseColor(MyColor));
      ClipDrawable progress = new ClipDrawable(pgDrawable, Gravity.LEFT, ClipDrawable.HORIZONTAL);
      pb.setProgressDrawable(progress);
      pb.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.progress_horizontal));
  </code></pre>
  
  <p>The problem in this code is that for the progress drawable and for the secondary progress drawable I have the same color.</p>
  
  <p>How to set the socondary progress color ?</p>