1、推荐http://angrytools.com/android/button/,可实现很多xml背景效果
2、总结如下
第一个drawable,是虚线边框:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="32px"></corners>
<stroke
android:width="3px"
android:color="#7ecef4"
android:dashGap="6px"
android:dashWidth="10px">