<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

    xmlns:tools="http://schemas.android.com/tools"

    android:layout_width="match_parent"

    android:layout_height="wrap_content"

    android:orientation="horizontal"

    android:padding="16dp">

    <ImageView

        android:layout_width="24dp"

        android:layout_height="24dp"

        android:layout_gravity="center_vertical"

        android:src="@drawable/ic_chat"/>

    <EditText

        android:layout_width="0dp"

        android:layout_height="wrap_content"

        android:layout_marginLeft="8dp"

        android:layout_marginRight="8dp"

        android:layout_weight="1"

        android:textAppearance="?android:textAppearanceMedium"

        android:hint="Send Message"/>

    <ImageView

        android:layout_width="24dp"

        android:layout_height="24dp"

        android:layout_gravity="center_vertical"

        android:src="@drawable/ic_send"/>

</LinearLayout>