Android bottom zig-zag shape

只愿长相守 提交于 2019-11-29 00:45:16

to draw a dashed line you can use a shape

<shape xmlns:android="http://schemas.android.com/apk/res/android"
 android:shape="line">

<stroke
   android:color="#FF00"
   android:dashWidth="5dp"
   android:dashGap="5dp" />
</shape>

if you want to combine more than one shape then you can use a layer-list and define a shape for every item

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!