title: How to use style in selector?
body: <p>I want to increase textSize of button when selector state_pressed and bring it normal size for other state.</p>
  
  <p>Please help to know how to use style for state_pressed? I did not find any option in selector.</p>
  
  <p>For now I am just changing background color with selector, let me know if we can use style in selector that way can change textSize through style.</p>
  
  <pre><code>    // fragment's xml
      &lt;Button
          android:id="@+id/btn_level3"
          android:text="@string/level3"
          android:textColor="#99CC00"
          style="@style/ButtonNormal"
          android:background="@drawable/button_custom"/&gt;           
  
  -----------------------------------------------------------
  
      // styles.xml
      &lt;style name="ButtonPressed"&gt;
          &lt;item name="android:textSize"&gt;@dimen/button_pressed&lt;/item&gt;
      &lt;/style&gt;
  
  -----------------------------------------------------------
  
      // buttom_custom.xml
      &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
          &lt;item android:state_pressed="true" android:drawable="@drawable/color_highlight" /&gt;
          &lt;item android:state_focused="true" android:drawable="@android:color/transparent" /&gt;
          &lt;item android:drawable="@android:color/transparent" /&gt;
      &lt;/selector&gt;
  </code></pre>