Я хочу рисовать горизонтальные и вертикальные пунктирные линии в андроиде, используя фигуры.
Я хочу рисовать вот так
Для горизонтальной линии
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line" >
<stroke
android:dashGap="6px"
android:dashWidth="6px"
android:color="#C7B299" />
</shape>
Для вертикальной линии
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line" >
<size
android:height="400dp"/>
<stroke
android:dashGap="6px"
android:dashWidth="6px"
android:color="#C7B299" />
</shape>
Но вертикальная пунктирная линия, не отображающая мой вывод, выглядит так:
Как нарисовать вертикальную линию.