Wednesday, November 6, 2013

Create a new xml

5. Create a new xml file under res/layout and name it asheader_gradient.xml and type the following code
header_gradient.xml
<?xml version="1.0" encoding="utf-8"?>
    <gradient
        android:startColor="#24b2eb"
        android:centerColor="#4ccbff"
        android:endColor="#24b2eb"
        android:angle="270"/>
    <corners android:radius="5dp" />
</shape>

No comments:

Post a Comment