圓角的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>