Reputation: 546
This code gives me a dashed line (--------------------) but what i want is a dotted line (.........................). The code below using with list view gives a dash line as a line separator but i want a dotted line. Is there a way to achieve this.
dotted.xml
<?xml version="1.0" encoding="utf-8"?>
<size
android:height="4dp"
android:width="700dp"/>
<stroke
android:dashWidth="3px"
android:color="@android:color/black"
android:dashGap="3px"/>
Upvotes: 0
Views: 716
Reputation: 792
The easiest way to increase the size of the dot is setting the width of stroke as same as dashWidth.
<stroke
android:width="4dp"
android:dashWidth="4dp"
android:dashGap="8dp"
/>
Upvotes: 1