Is there a way to apply a style to a button when the button is pressed?
If I have a style in style.xml:
<resources>
    <style name="test">
        <item name="android:textStyle">bold</item>
    </style>
</resources>
a selector in button.xml:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@drawable/test_pressed"
              style="@style/test"
          android:state_pressed="true"/>
    <item android:drawable="@drawable/test_focused"
          android:state_focused="true"/>
    <item android:drawable="@drawable/test_normal"/>
</selector>
then how would I reference button.xml in my layout?
<Button
        ...
        android:???="button"/>
Thanks!