title: Android: change font color on click
body: <p>i am trying to change the color of text inside a button. </p>
  
  <p>So for example i have a button which is filled with white and the text is blue. When i click on the button i want these two colors to swap (text inside the button becomes white and the button blue).</p>
  
  <p>I have tried something like this:</p>
  
  <pre><code> &lt;item style="@style/ButtonText_Menue_Clicked" android:drawable="@drawable/button_menue_default" android:state_focused="true"&gt;&lt;/item&gt;
   &lt;item style="@style/ButtonText_Menue" android:drawable="@drawable/button_menue_default" &gt;&lt;/item&gt;
  </code></pre>
  
  <p>but it actually does nothing. 
  Is there any way to do what i want, or do i have to do some stuff in the onclik event (but then there is the problem how to set the colors back when the "click is gone" )</p>