真吊,这个问题搞好好一会。mark一下。
首先 shape_dashed.xml代码:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<stroke
android:dashGap="3dp"
android:dashWidth="3dp"
android:width="1dp"
android:color