title: How can I set the android preference summary text color?
body: <p>On my preference screen I have a preference that when clicked opens a color picker dialog.  What I would like to do is when the user selects a color, that the text summary of the preference is displayed in that color.</p>
  
  <p>I know I can have the summary set up like this, <code>Currently &lt;font color="#ff0000"&gt;this color&lt;/font&gt;</code> and have it display in that color.  The problem is the color I am getting back is the android int color.</p>
  
  <p>I could use the red(), green(), blue() methods and then convert those to Hex and then combine them into a string so I could set the summary text with the new value and that works: <code>String colorString = String.format("#%02x%02x%02x",Color.red( defaultColor ), Color.green( defaultColor ), Color.blue( defaultColor ));</code> I was just curious if there is an easier way to do this.</p>
  
  <p>Thanks ahead of time.</p>
  
  <p>Sean</p>