I need to draw lines inside listView items, this line must show dependences between items. I have read this, but i think it is difficult to draw lines by points in my case.And i think to use proggres bar, but it isn't a nice solution too What is the best practice to make this?for example, if i have tv1.weight=1, customview weight=3, tv.weight=1 how can i set widht of line?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="2dp"
android:text="New Text"
android:id="@+id/textView"/>
<View
android:layout_width="50dp"
android:layout_height="1dp"
android:background="@android:color/holo_blue_light" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New Text"
android:id="@+id/textView"/>