Android虚线的使用

it2022-05-09  30

<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <!--width设置虚线宽度--> <!--dashGap设置虚线空隙宽度--> <!--dashWidth设置虚线的实线长度--> <!--color设置虚线颜色--> <stroke android:width="1dp" android:color="#E8D1D1D1" android:dashGap="1dp" android:dashWidth="5dp" /> </shape>

最新回复(0)