It is necessary to make just such a topic. enter image description here

How to make a picture wrapping with one textView - I know, but with two - no. Wrap one implement android:drawableLeft="@drawable/ic_launcher" in <TextView .
Are there any other methods to implement this flow?

  • This is not a wrap , if necessary, as in the picture. - Vladyslav Matviienko

1 answer 1

For example:

 <?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="wrap_content"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/pic"/> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="2" android:text="123"/> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="123"/> </LinearLayout> </LinearLayout>