title: android imageview android:state_selected="true" not working
body: <p>I am using Image selector for changing my tab-widget image icons , when I selected any one of image view, image of that image view should change. For that i have used following code, but it is working good , but problem is <strong>android:state_pressed="true"</strong> is working but <strong>android:state_selected="true"</strong> not working in any image view , i am getting stuck from this issue , can anyone help me, answer will be appreciable.Thanks in advance.</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_contacts_vippie_selected" android:state_selected="true"/&gt;
  &lt;item android:drawable="@drawable/ic_contacts_vippie"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>Here is my Imageview:</p>
  
  <pre><code>      &lt;ImageView
          android:id="@+id/hiiMoblieContact"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:src="@drawable/flexi_contact_selector" /&gt;
  </code></pre>