开发中遇到需要画虚线,挺简单的。
1.在drawable创建shape_dash_line
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<size android:height
开发中遇到需要画虚线,挺简单的。
1.在drawable创建shape_dash_line
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<size android:height