title: How to setBackgroundColor of textview to a Paint instead of a Color?
body: <p>ok i know i can set a textview's background color by <code>textview.setBackgroundColor(R.color.darkgrey)</code> or some other color but im in a slight different situation. I have an object with three properties a Name, Value and a Paint. I used this object to draw a pie graph and have made a bunch of textview as legends for the graph. All i want to do now is set the background color to the Paint i used for the graph. I set the Paint by using the setARGB method of android.graphics.Paint. I have gone through the android notes trying to find a converting method to change the Paint to a color but no luck.</p>
  
  <p>Any ideas how to setBackgroundColor() for a textview using Paint?</p>