Hi all,
You might want to play around with the scaling marker on this one to obtain good results. These buttons will look better if they are not scaled.
19 different hues again for your convenience:
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!
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!
Labels:
9 patch png,
android,
android development,
button,
color all,
free,
packs,
style 3 states
Subscribe to:
Posts (Atom)