title: Selector drawable in ImageSpan does not work?
body: <p>Is it possible to use <code>selector</code> drawable in <code>ImageSpan</code>?</p>
  
  <p>I have <code>TextView</code> with selector text color, and add ImageSpan with selector resource. Text color change works fine, and image does not changes. Is it a bug or there is a way to make selector spans?</p>
  
  <p>My <code>TextView</code>:</p>
  
  <pre><code>&lt;TextView
      android:id="@+id/text"
      android:ellipsize="end"
      android:layout_height="fill_parent"
      android:duplicateParentState="true" // parent of this text view can be selected
      android:gravity="center_vertical"
      android:lines="1"
      android:textColor="@color/message_content_simple_text" // here is selector - it works fine
      android:textSize="15dp" /&gt;
  </code></pre>
  
  <p>Selector:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:drawable="@drawable/ic_active" android:state_focused="true"/&gt;
      &lt;item android:drawable="@drawable/ic_active" android:state_selected="true"/&gt;
      &lt;item android:drawable="@drawable/ic_active" android:state_pressed="true"/&gt;
      &lt;item android:drawable="@drawable/ic_passive"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>And code of adding span:</p>
  
  <pre><code>SpannableString text = new SpannableString("  some text");
  ImageSpan span = new ImageSpan(context, R.drawable.icon, ImageSpan.ALIGN_BASELINE);
  text.setSpan(span, 0, 1, SpannableString.SPAN_INCLUSIVE_INCLUSIVE);
  textView.setText(text);
  </code></pre>
  
  <p>When I select this text view "some text" change it's color as necessary, but image does not change.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>If there is some android bug, could you offer any way to achieve the same result?</p>