<?xml version="1.0" encoding="utf-8"?>

    <FrameLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/btn_search"
        android:layout_width="match_parent"
        android:layout_height="34dp"
        android:layout_margin="5dp"
        android:focusable="true"
         android:focusableInTouchMode="true"
        android:background="@drawable/bg_home_search"
        >

        <ImageView
            android:layout_width="34dp"
            android:layout_height="34dp"
            android:padding="8dp"
            android:src="@mipmap/icon_main_search"
            android:tint="@color/gray3"
            />

        <EditText
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginLeft="38dp"
            android:layout_marginRight="10dp"
            android:background="@null"
            android:gravity="center_vertical"
            android:singleLine="true"
            android:id="@+id/et_search"
            android:imeOptions="actionSearch"
            android:textColor="@color/textColor"
            android:textColorHint="@color/gray3"
            android:textSize="@dimen/text_size_14"
            />

    <ImageView
        android:id="@+id/btn_clear"
        android:layout_width="23dp"
        android:layout_height="23dp"
        android:layout_gravity="center_vertical|right"
        android:layout_marginRight="5dp"
        android:padding="5dp"
        android:visibility="invisible"
        android:src="@mipmap/icon_search_clear"
        />

    </FrameLayout>
