title: Drawable with selector?
body: <p>in drawable folder:</p>
  
  <pre><code> &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
       &lt;item android:state_pressed="true"
             android:drawable="@drawable/icon2" /&gt; 
       &lt;item android:drawable="@drawable/icon3" /&gt; 
   &lt;/selector&gt;
  </code></pre>
  
  <p>and the layout is just simple linear layout that fill the whole space</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="fill_parent"
      android:layout_height="fill_parent" android:background="@drawable/on_touch_"
      android:weightSum="1" android:focusable="true" android:focusableInTouchMode="true"&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>and when I press this nothing happens</p>
  
  <p>If I add, for example, some textview and assign <code>android:background="@drawable/on_touch_"</code> then that textview when pressed it changes the image correctly.</p>
  
  <p>Where is the problem with the linear layout why it does not change the image when pressed ? </p>
  
  <p>Edit:
  I am sure that my drawable selector is good and working cause I put as a background to other elements and it is working.</p>
  
  <p>But my problem is how to set the drawable to the <b>root</b> element </p>