首页 > 代码库 > [Android Tips] 12. How to Create a Dash Line Shape

[Android Tips] 12. How to Create a Dash Line Shape

<?xml version="1.0" encoding="utf-8"?>        <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line">            <stroke android:width="1dp"        android:dashWidth="12dp"        android:dashGap="7dp"        android:color="@color/semi_transparent_white"/>        </shape> 

 

[Android Tips] 12. How to Create a Dash Line Shape