text: <?xml version="1.0" encoding="utf-8"?><!--
    ~ Copyright (C) 2020 Luke Klinker
    ~
    ~ Licensed under the Apache License, Version 2.0 (the "License");
    ~ you may not use this file except in compliance with the License.
    ~ You may obtain a copy of the License at
    ~
    ~ http://www.apache.org/licenses/LICENSE-2.0
    ~
    ~ Unless required by applicable law or agreed to in writing, software
    ~ distributed under the License is distributed on an "AS IS" BASIS,
    ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    ~ See the License for the specific language governing permissions and
    ~ limitations under the License.
    -->
  
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical">
  
      <xyz.klinker.messenger.shared.view.MaxHeightScrollView
          android:id="@+id/top_background"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|start"
          android:background="@color/pulseColorPrimary"
          android:padding="16dp"
          app:max_height="220dp">
  
          <com.android.ex.chips.RecipientEditTextView
              android:id="@+id/contact_entry"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginBottom="8dp"
              android:layout_marginTop="4dp"
              android:background="@null"
              android:gravity="start"
              android:hint="@string/enter_contact_name"
              android:imeOptions="flagNoExtractUi"
              android:textColor="@android:color/white"
              android:textColorHint="@color/toolbarEditTextHint" />
  
      </xyz.klinker.messenger.shared.view.MaxHeightScrollView>
  
      <xyz.klinker.messenger.view.ImageKeyboardEditText
          android:id="@+id/message_entry"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="12dp"
          android:layout_marginEnd="16dp"
          android:layout_marginStart="16dp"
          android:layout_marginTop="24dp"
          android:background="@android:color/transparent"
          android:gravity="start"
          android:hint="@string/type_message"
          android:imeOptions="flagNoExtractUi|actionSend"
          android:inputType="textCapSentences|textAutoCorrect|textMultiLine"
          android:maxLines="@integer/message_list_fragment_line_entry_count"
          android:scrollHorizontally="false"
          android:textColor="@color/primaryText"
          android:textColorHint="@color/secondaryText"
          android:textSize="15sp" />
  
      <ImageView
          android:id="@+id/attached_image"
          android:layout_width="match_parent"
          android:layout_marginTop="12dp"
          android:layout_height="200dp"
          android:visibility="gone" />
  
  </LinearLayout>