Answers for "making dashed line android"

0

making dashed line android

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="line">
    <stroke
        android:width="1dp"    --->  width
        android:color="@color/line"   ---->Dotted line color
        android:dashGap="4dp"    ---->Dotted line width
        android:dashWidth="6dp"/>  --->Width of dotted line
</shape>
Posted by: Guest on November-11-2020

Browse Popular Code Answers by Language