title: how to change progress bar color progrramically
body: <p>im using this sample code for signal info <a href="http://code.google.com/p/krvarma-android-samples/source/browse/trunk/PhoneStateSample/src/com/varma/samples/phonestatesample/PhoneStateSample.java" rel="nofollow">http://code.google.com/p/krvarma-android-samples/source/browse/trunk/PhoneStateSample/src/com/varma/samples/phonestatesample/PhoneStateSample.java</a> which show signal strength in progressbar below is my code which piece of cdoe i took from that sample class my question is how i will change color of progressbar which create programiclaly?</p>
  
  <pre><code>                private void setSignalLevel(int id,int infoid,int level){
              int progress = (int) ((((float)level)/31.0) * 100);
              String signalLevelString = getSignalLevelString(progress);
  
              ((ProgressBar)findViewById(id)).setProgress(progress);
  
              ((TextView)findViewById(infoid)).setText(signalLevelString);
  
              Log.i("signalLevel ","" + progress);
      }
  </code></pre>