I need to add a drawable inside my textview and makes it take the same height as the text.
My xml :
...<LinearLayout
android:id="@+id/line6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/tableLayoutId">
<TextView
android:id="@+id/label10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingEnd="2dp"
android:paddingRight="2dp"
android:drawableRight="@drawable/greenarrowup"
android:drawableEnd="@drawable/greenarrowup"
/> ...
I've tried using imageView to get the desired result but didn't make it, can someone help me please ?
Thank you.