My problem is the following. I have 4 TextView that I aligned horizontally. Among these 4 textviews, the first 2 can take only 1 line, while the other 2 can take 1 or 2 lines. However I would like that, when I go to the 2nd line, this would continue under the 1st textView, on the left (as if it was all a unique textview) and not below the place where the textview started. Think about facebook post for instance in which the first textview is the username and the second is the action he performed and, if the action is too long, then the text would continue under the username. Right now my code is the following:
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true">
<TextView
android:id="@+id/status_display_name"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textColor="?android:textColorPrimary"
android:textStyle="normal|bold"
android:ellipsize="end"
android:maxLines="1"
android:text="Name "
/>
<TextView
android:id="@+id/status_display_family_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?android:textColorPrimary"
android:maxLines="1"
android:ellipsize="end"
android:text="Family name"
android:paddingRight="@dimen/status_display_name_right_padding"/>
<TextView
android:id="@+id/status_display_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?android:textColorSecondary"
android:maxLines="2"
android:ellipsize="end"
android:text="has done " />
<TextView
android:id="@+id/status_display_item_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?android:textColorPrimary"
android:maxLines="2"
android:ellipsize="end"
android:text="My item title" />
</LinearLayout>