I'm trying to realize a simple layout for a list item. Design view of Android Studio show exactly what I want
![enter image description here](https://i.stack.imgur.com/wEENr.png)

However, at runtime, this is what I have on every single display.
![enter image description here](https://i.stack.imgur.com/ky9iU.png)

To note that the last `TextView` (`@+id/messages_listview_item_modified_date`), is normally not visible; it became visible only under certain condition at runtime. Not sure it so relevant to be honest.

This is the xml layout file

```
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:weightSum="1"
              android:orientation="vertical">

  <RelativeLayout
    android:id="@+id/messages_listview_heading"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <TextView
      android:id="@+id/messages_listview_item_user_nick"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true"
      android:layout_toEndOf="@+id/messages_listview_item_user_icon"
      android:text="@string/messages_listview_item_nickname"
      android:textAppearance="?android:attr/textAppearanceListItemSmall"
      android:textColor="#ff99cc00"
      />

    <TextView
      android:id="@+id/messages_listview_item_message_title"
      android:text="@string/messages_listview_item_title"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textColor="#acacac"
      android:textStyle="bold"
      android:gravity="start"
      android:textAppearance="?android:attr/textAppearanceListItem"
      android:layout_below="@+id/messages_listview_item_user_nick"
      android:layout_toEndOf="@+id/messages_listview_item_user_icon">
    </TextView>

    <TextView
      android:id="@+id/messages_listview_item_date"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentEnd="true"
      android:layout_alignParentTop="true"
      android:text="@string/messages_listview_item_created_date"
      android:textAppearance="?android:attr/textAppearanceListItemSmall"/>

    <ImageView
      android:id="@+id/messages_listview_item_user_icon"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentStart="true"
      android:layout_alignParentTop="true"
      android:contentDescription="@string/messages_listview_item_user_icon"
      android:src="@drawable/icon_user_messages"/>
  </RelativeLayout>

  <TextView
    android:id="@+id/messages_listview_item_message_body"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="start"
    android:text="@string/messages_listview_item_body"
    android:textColor="#acacac"
    android:textAppearance="?android:attr/textAppearanceListItem"
    android:textSize="16sp">
  </TextView>

  <TextView
    android:id="@+id/messages_listview_item_modified_date"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textAppearance="?android:attr/textAppearanceListItemSmall"
    android:text="@string/messages_listview_item_edited_date"
    android:layout_gravity="right"
    android:textSize="12sp"
    android:textStyle="italic"/>
</LinearLayout>

```