Google doesn't help me find a solution of my problem. (As far I was looking for...).
I want to know if it's possible to draw a dotted line with 9 patch capabilities on Android.
My goal is to draw a dotted line from a layout to another one.
I thought about 9 patch because I want the dotted line to be the same in every Activities. (not to be stretched).
Is that possible ? Or maybe is there a better solution ?
Here an example (with a solid line) of what I would like : http://hpics.li/866bb56
Thanks
Actually, i'm not using shape because I need one vertical dotted line and another one horizontal.
And it's not possible to get vertical line with shape. (In fact, it's possible but not natively and the result is not what i'm expecting).
So i took my dotted line, maked 2 small images with it, one horizontal and the another one vertical. Then I created 2 xml file for each orientation and call my drawable with repeat mode
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/pointilles_horizontal_pattern"
android:tileMode="repeat" />
Thanks everyone !