<?xml version="1.0" encoding="utf-8"?>
<com.kickstarter.ui.toolbars.SearchToolbar
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  style="@style/Toolbar"
  android:id="@+id/search_toolbar"
  app:contentInsetLeft="0dp"
  app:contentInsetStart="0dp"
  tools:showIn="@layout/search_layout">

  <RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.kickstarter.ui.views.IconButton
      style="@style/ToolbarIconBackButton"
      android:id="@+id/back_button"/>

    <EditText
      style="@style/ToolbarTitle"
      android:id="@+id/search_edit_text"
      android:background="@color/transparent"
      android:maxLength="25"
      android:inputType="textNoSuggestions"
      android:maxLines="1"
      android:hint="@string/tabbar_search"
      android:textCursorDrawable="@null" />

    <com.kickstarter.ui.views.IconButton
      style="@style/ToolbarIcon"
      android:id="@+id/clear_button"
      android:focusable="true"
      android:clickable="true"
      android:layout_alignParentEnd="true"
      android:text="@string/close_icon"
      android:contentDescription="@string/accessibility_discovery_buttons_close" />

  </RelativeLayout>

</com.kickstarter.ui.toolbars.SearchToolbar>
