Я пытаюсь отобразить синюю линию рядом с блоком текста, примерно так:
Здесь мой код:
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/blue_line" />
blue_line - это файл в формате jpg. синий прямоугольник. он отображается в исходном размере независимо от текста в текстовом виде. как можно динамически регулировать его высоту в соответствии с высотой текста? как сделать его короче, когда theres небольшое количество текста и дольше, когда там больше текста....