1 2 3 4 5 6 7 8 9 10
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <!-- 填充的颜色 --> <solid android:color="#31d3fc" /> <!-- 设置矩形的四个角为弧形 --> <!-- android:radius 弧形的半径 --> <corners android:radius="8dip" /> </shape>