Wednesday 14 August 2013

create button using shape in android

http://stackoverflow.com/questions/2122199/how-do-i-set-the-rounded-corner-radius-of-a-color-drawable-using-xml


    android:shape="rectangle">
            android:startColor="#679a00"
        android:endColor="#98cb00"
        android:angle="90"/>
            android:top="6dp"
        android:right="6dp"
        android:bottom="6dp" />
   

No comments:

Post a Comment