I want to achieve below layout in which there is a fix space for textview and image.
I am using relative layout,which doesn't have "weight" property. How to achieve below layout using LinearLayout ?

Below is my code
<RelativeLayout>
<TextView
android:id="@+id/txt"
android:paddingLeft="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:textSize="14dp"
android:textColor="@android:color/white"/>
<TextView
android:id="@+id/date_n_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dp"
android:textColor="#E0FFFF"
android:layout_below="@+id/txt" />
<ImageView android:id="@+id/imageview"
android:layout_height="wrap_content"
android:paddingRight="5dp"
android:contentDescription="Image"
android:layout_width="wrap_content"
android:layout_alignParentRight="true"
android:src="@drawable/icon"/>
</RelativeLayout>
I have used RelativeLayout for placing the textview and image like the above image. but textview and imageview are overlapping each other.