shape02 - 虚线
2017-09-30 本文已影响0人
geaosu
废话不多说, 上图


代码
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<size android:height="1dp"/>
<stroke
android:dashGap="3dp"
android:dashWidth="10dp"
android:width="1dp"
android:color="@color/gray">
</stroke>
</shape>