Android 虛線分割Shape


<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line">
     <!-- 顯示虛線,破折線的寬度為dashWith,空隙的寬度為dashGap, darkgray -->
    <stroke android:width="1dp" android:color="#A9A9A9"  
             android:dashWidth="2dp" android:dashGap="3dp" /> 
    <size android:height="1dp" />  
</shape>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM