//右击res 新建一个 android resource file
// File name 名称
//resource type 更改为drawable
//Root element 更改该为shape OK
//XML绘制
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
//实心 <solid android:color="#0000cc" />
//圆角 <corners android:radius="5dip" /> </shape>
//完成之后直接引用就可以了