圆角矩形XML布局:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!--transparent 透明色-->
<solid android:color="@color/clear_btn"/>
<stroke
android:width="1dp"
android:color="@color/clear_btn" />
<corners android:radius="4dp"/>
</shape>