<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#000000" />
<stroke android:width="2dip" android:color="#F1F1F1" />
<corners android:topLeftRadius="2dp" <br />
android:topRightRadius="2dp" <br />
android:bottomRightRadius="2dp"
android:bottomLeftRadius="2dp"/>
</shape>
1. <solid android:color="#000000" />
控件背景填充的颜色
2. <stroke android:width="2dip" android:color="#F1F1F1" />
边框大小(不是控件大小),边框颜色
3. <corners android:topLeftRadius="2dp"
android:topRightRadius="2dp"
android:bottomRightRadius="2dp"
android:bottomLeftRadius="2dp"/>
控件四角的圆角半径大小