圆角的Veiw XML
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/gray_white" /> 背景颜色
<corners android:radius="5dp" /> 圆角大小
</shape>
随意定义某个角是圆角加边框
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<stroke
android:width="1dp"
android:color="@color/pinkishGrey"></stroke> 边框
<corners android:bottomLeftRadius="15dp" 左下圆角
android:topLeftRadius="15dp"/> 左上圆角
</shape>