title: how can i create EditText like instagram with send button inside EditText
body: <p>how can I create EditText like Instagram's chat activity? EditText with send button inside in it. i tried to create that using ImageButton but it doesn't work quite well as the Text goes under image whenever i type. and if set limit of words per line it doesn't work quite well too.  so any help please, it's kind of stuck in it. I'm kind of new to android development so please help out the fresher and thanks a lot in advance.</p>
  
  <p><strong>editText</strong></p>
  
  <pre><code>&lt;android.support.v7.widget.AppCompatEditText
              android:id="@+id/itemEditText_id"
              android:layout_width="match_parent"
              android:layout_height="70dp"
              android:layout_marginTop="8dp"
              android:layout_marginStart="2dp"
              android:layout_marginEnd="4dp"
              android:lines="2"
              android:scrollHorizontally="false"
              android:maxLength="69"
              android:scrollbars="vertical"
              android:background="@drawable/round_border_edit_text"
              android:hint="Go ahead \nSend messge"
              android:inputType="textMultiLine|textLongMessage"
              android:textAppearance="@style/TextAppearance.AppCompat.Body2"
              android:maxLines="2"
              android:minLines="1"
              &gt;
  </code></pre>
  
  <p><strong>ImageButoon</strong></p>
  
  <pre><code> &lt;android.support.v7.widget.AppCompatImageButton
              android:id="@+id/itemSendButton_id"
              android:layout_width="25dp"
              android:layout_height="20dp"
              android:layout_alignParentEnd="true"
              android:layout_centerVertical="true"
              android:layout_marginEnd="11dp"
              android:background="@color/colorFacebookBtnText"
              android:clickable="true"
              android:focusable="true"
              android:scaleType="fitCenter"
              android:src="@drawable/ic_send" /&gt;
  </code></pre>