I am working on an Android application in which I want to use dotted line XML as a divider in my layout. For this I have used different drawables for this but instead to make a dashed dotted line, it is making a line.
My drawable is given below:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<stroke
android:color="#FF404040"
android:width="1dp"
android:dashGap="3dp"
android:dashWidth="1dp"
/>
<size
android:height="3dp"
/>
</shape>