<shape xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 设置背景色 --> <solid android:color="@color/View" /> <!-- 设置一个黑色边框 --> <stroke android:width="@dimen/margin1dp" android:color="#000000" /> <!-- 设置四个圆角的半径 --> <corners android:bottomLeftRadius="@dimen/margin5dp" android:bottomRightRadius="@dimen/margin5dp" android:topLeftRadius="@dimen/margin5dp" android:topRightRadius="@dimen/margin5dp" /> </shape>
画矩形圆角
猜你喜欢
转载自blog.csdn.net/raotenghong2611/article/details/81029296
今日推荐
周排行