/**
* 例如给Button设置背景颜色
* 定义圆角
* 定义内部填充色
* 定义描边的宽度和颜色
* 定义渐变的角度及颜色
* 定义内部边距
*/
android:shape="rectangle">
android:bottomLeftRadius="8dp"
android:bottomRightRadius="8dp"
android:topLeftRadius="8dp"
android:topRightRadius="8dp" />
android:width="@dimen/width3px"
android:color="#ffffff" />
android:angle="45"
android:endColor="#EC3E39"
android:startColor="#FB6C68" />
android:bottom="8dp"
android:left="8dp"
android:right="8dp"
android:top="8dp" />