<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:bind="http://robobinding.org/android"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:background="@color/white"
              android:fitsSystemWindows="true"
              android:orientation="vertical">

    <RelativeLayout
        android:id="@+id/rl_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        >

        <RelativeLayout
            android:id="@+id/rl"
            android:layout_width="match_parent"
            android:layout_height="@dimen/title_height"
            android:layout_alignParentTop="true"
            android:background="@color/white">


            <ImageButton
                android:onClick="back"
                android:id="@+id/search"
                android:layout_width="@dimen/title_height"
                android:layout_height="@dimen/title_height"
                android:layout_centerVertical="true"
                android:background="@drawable/btn_selector"
                android:padding="@dimen/title_btn_padding"
                android:scaleType="centerInside"
                android:src="@drawable/ic_title_back"
                android:tint="@color/black"
                />

            <ImageButton
                android:id="@+id/iv_clear"
                android:layout_width="@dimen/title_height"
                android:layout_height="@dimen/title_height"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@null"
                android:padding="@dimen/title_btn_padding"
                android:scaleType="centerInside"
                android:src="@drawable/ic_clear_black_24dp"
                android:visibility="gone"
                />

            <EditText
                android:id="@+id/edit_query"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginLeft="16dp"
                android:layout_toLeftOf="@+id/iv_clear"
                android:layout_toRightOf="@+id/search"
                android:background="@null"
                android:focusable="true"
                android:focusableInTouchMode="true"
                android:hint="搜索"
                android:textColor="@color/red_button"

                android:textCursorDrawable="@null"/>


        </RelativeLayout>

        <View
            android:id="@+id/shadow"
            android:layout_width="match_parent"
            android:layout_height="@dimen/title_shadow_height"
            android:layout_below="@+id/rl"
            android:background="@drawable/shadow_title"/>

    </RelativeLayout>


    <ListView
        android:layout_width="fill_parent"
        android:layout_height="match_parent"
        bind:itemLayout="@layout/item_list_simple"
        bind:itemMapping="[text1.text:{value}]"
        bind:source="{strings}"/>

</LinearLayout>