title: Android ListView Selector Color
body: <p><strong>Hi All,</strong></p>
  
  <p>I have 2 questions regarding a ListView in Android:</p>
  
  <ol>
  <li><p>How can I <strong>get</strong> the color of the listview's focused row ?
  I tried to use the <strong>ListView.getSelector()</strong> method, which according to its documentation should give me what I'm looking for, but it's giving me a Drawable object which I don't know how to retrieve the color from (if possible...).</p></li>
  <li><p>How can I <strong>set</strong> the color of the listview's focused row ?
  Here I tried to use the <strong>setSelector()</strong> method on the listview, passing it a ColorDrawable object, but the result of doing it is that the whole background of the list view is painted in that color... and this is not what I wanted of course...</p></li>
  </ol>
  
  <p>Thanks!</p>