(转)Android之shape与selector实现圆角

http://blog.csdn.net/wangwei_cq/article/details/9491967

<item>  
            <shape>  
                <gradient android:angle="270" android:endColor="#A8C3B0"  
                    android:startColor="#C6CFCE"/>  
                <size android:height="60dp" android:width="320dp" />  
                <corners android:radius="8dp" />  
            </shape>  
        </item>