Hi I am trying to use gradient xml as my background instead of a png for a button. I know how to create shape xml with (StartColor, EndColor). But I have a background with two parts. The top rectangle has one gradient and the bottom uses different gradient. How do I specify this in one xml file?
My current background xml is like below: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <gradient android:startColor="#FF2139ed" android:endColor="#FF0f1b73" android:angle="270" /> </shape> Thanks Videoguy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

