title: Android color overlay - PorterDuff modes
body: <p>I have a black &amp; white ninepatch drawable as background of a view and I would like to apply a color on it, like a semi-transparent overlay that leaves the drawing visible but applies the desired color on it.</p>
  
  <p>I thought <code>drawable.setColorFilter(color,mode)</code> might do the trick, but I can't figure out what the different modes mean.</p>
  
  <p>Could anyone give me a hint?</p>