Set background drawable (Programmatically s)?
<p>In my application I have something like this: </p>

<p><code>Button playBtn = (Button) findViewById(R.id.play);
ProgressBar pb1  = new ProgressBar(this);
playBtn.setBackgroundDrawable(pb1);</code></p>

<p>But this is not working. And I know why, - pb1 is not a drawable. But how otherwise I can set the background of my play button to the progress bar? I use a programmatic way of creating a progress bar and I have a play button in my .xml resource.</p>
