title: Custom item states for android selectors
body: <p>I see examples of selectors using android states like 'selected' to define style.  Here a simplified example:</p>
  
  <pre><code>&lt;selector&gt;
      &lt;item android:state_selected="true" android:drawable="@color/transparent" /&gt;
      &lt;item android:drawable="@drawable/listitem_normal" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>So, my question is: Can I define and use my own state instead of</p>
  
  <pre><code>android:state_selected="true"
  </code></pre>
  
  <p>My goal is to color shapes based on an integer value, like simple version of this heatmap:
  <img src="https://i.stack.imgur.com/3YrLq.gif" alt="alt text"></p>