<?xml version="1.0" encoding="utf-8"?>
<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:layout_gravity="center_vertical"
    android:orientation="horizontal">

    <EditText
        android:id="@+id/search_src_text"
        android:layout_width="0dp"
        android:layout_height="36dip"
        android:layout_gravity="bottom"
        android:layout_weight="1"
        android:background="@null"
        android:ellipsize="end"
        android:imeOptions="actionSearch"
        android:inputType="text|textAutoComplete|textNoSuggestions"
        android:minWidth="@dimen/abc_search_view_text_min_width"
        android:paddingLeft="@dimen/abc_dropdownitem_text_padding_left"
        android:paddingRight="@dimen/abc_dropdownitem_text_padding_right"
        android:singleLine="true"
        android:textCursorDrawable="@null"
        tools:ignore="RtlHardcoded" />

    <ImageView
        android:id="@+id/search_close_btn"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="center_vertical"
        android:background="?attr/selectableItemBackgroundBorderless"
        android:contentDescription="@string/abc_searchview_description_clear"
        android:focusable="true"
        android:paddingLeft="8dip"
        android:paddingRight="8dip"
        android:src="@drawable/ic_close_white_24dp" />
</LinearLayout>