title: How to implement a CustomView with custom selector states?
body: <p>I want to create a <code>CustomView</code> that displays an image. On click the view should change its state. There should be three states <strong>(off, set, notset)</strong> the view can represent. I want to do this with a <strong>selector</strong> in XML. It does not necesseraliy need to be a custom selector. I could reuse three states of the selector (it does not matter if the names of the state are different then).</p>
  
  <p>Is there a good way to achieve this?</p>