Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • matador86
    Participant

    You can create an stateListdrawable which defines, different colors or drawables for different states of Button, and can set this xml drawable as background of the button.

    For example for the button you can use following code:

    <?xml version=”1.0″ encoding=”utf-8″?>
    <selector xmlns:android=”http://schemas.android.com/apk/res/android”&gt;
    <item android:state_pressed=”true”
    android:drawable=”@drawable/button_pressed” /> <!– pressed –>
    <item android:state_focused=”true”
    android:drawable=”@drawable/button_focused” /> <!– focused –>
    <item android:state_hovered=”true”
    android:drawable=”@drawable/button_focused” /> <!– hovered –>
    <item android:drawable=”@drawable/button_normal” /> <!– default –>
    </selector>

    in reply to: How to change font size of title & tagline #70336
    matador86
    Participant

    Did anyone noticed that after the last updates the font of the letters within emails in the hub became significantly smaller ? Even if I set to ”huge” they are about two sizes smaller than before ! Too bad for me !

Viewing 2 posts - 1 through 2 (of 2 total)