Hi,
I am wanting to do a gradient fill on some buttons and have some
questions on how to do some more advanced fills so far I have this :

<shape xmlns:android="http://schemas.android.com/apk/res/android";
android:shape="rectangle">
   <gradient android:startColor="#FF000044"
             android:endColor="#FF0000FF"
             android:angle="180"
    />
   <padding android:left="7dp" android:top="7dp"
           android:right="7dp" android:bottom="7dp" />
   <corners android:radius="8dp" />
</shape>

What I want to do , is set the background colour for the button to
#FF000044 , and then only start the gradient 50% down (Y-Axis) of the
button regardless of size

How would I do this ??

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to