Translate

Tuesday, August 30, 2011

Android 9 patch - pack 11 - 19 HUES x 3 states

Hi all,

This time I have a pack that provides you with a button with 19 HUES and 3 states each for a total of 57 pngs.

Normal, pressed and focused states are included.

Using a selector XML file like this one will get your stated.

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_pressed="true"
          android:drawable="@drawable/a9p_09_11_00203" /> <!-- pressed -->
    <item android:state_focused="true"
          android:drawable="@drawable/a9p_09_11_00222" /> <!-- focused -->
    <item android:drawable="@drawable/a9p_09_11_00184" /> <!-- default -->
</selector>

Enjoy!



























































No comments:

Post a Comment