title: State selector for a custom button layout (i.e. LinearLayout)
body: <p>I'm wondering if it's possible to build a custom button layout with different appearance depending on state so it acts like a button. For example, a LinearLayout with an ImageView and TextView, with these states.</p>
  
  <ul>
  <li><p>When the button is in <em>normal state</em>, display <code>image_normal.png</code> and text in red.</p></li>
  <li><p>When the button is <strong>pressed</strong>, display <code>image_pressed.png</code>, background red and text in white.</p></li>
  <li><p>When the button is <strong>disabled</strong>, display <code>image_disabled.png</code> and text in grey.</p></li>
  </ul>
  
  <p>Thank you!</p>