<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="@color/divider" />
<size android:height="2dp" />
android:shape="line" >
<stroke
android:dashGap="3dp"
android:dashWidth="3dp"
android:width="1dp"
android:color="@color/divider" />
<size android:height="2dp" />
</shape>
注:height要大于width才能生效