I have a textView
with an image and text, I want to align text with the baseline of the image. I am trying but unable to do this. How can I do this? Thanks in advance.
<TextView
android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:drawablePadding="4dp"
android:text="Hello"
android:drawableStart="@drawable/date"
android:gravity="bottom"
android:textColor="@color/black"
android:textSize="10sp" />
I want to text and image like this, they share the same baseline: