There's a linear layout given with a TextView, which contains an image. I want to position the image on the left-bottom side of the TextView.
I did this with android:drawable:Left
<TextView
android:id="@+id/xmpp_chatlist_tv_partnerID_inc_Message"
android:layout_width="match_parent"
android:layout_height="80sp"
android:padding="6dip"
android:textColor="@color/black"
android:background="@drawable/round_corners"
android:layout_weight="0.125"
android:drawableLeft="@drawable/xmpp_notation"
android:drawablePadding="5dp"
android:gravity="left">
</TextView>
I also did this:
textView_partnerID_inc.setCompoundDrawablesWithIntrinsicBounds(
R.drawable.xmpp_notation, 0, 0, 0);
How to get the image shown on the left-bottom side?