<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@color/bg"
  android:orientation="vertical"
  >

  <LinearLayout
	xmlns:tools="http://schemas.android.com/tools"
	xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:background="@color/bg"
	android:orientation="vertical"
	>


	<EditText
	  android:layout_width="match_parent"
	  android:layout_height="wrap_content"
	  android:hint="Search product"
	  android:layout_margin="16dp"
	  android:elevation="1dp"
	  android:id="@+id/etSearch"
	  android:background="@drawable/rect_white"
	  android:padding="16dp"
	  android:layout_marginBottom="16dp"
	  />

	<LinearLayout
	  android:layout_width="match_parent"
	  android:layout_height="wrap_content"
	  android:layout_margin="16dp"
	  android:background="@drawable/rect_white"
	  android:elevation="1dp"
	  android:padding="16dp"
	  android:orientation="vertical"
	  tools:ignore="MissingPrefix">

	  <TextView
		fontPath="@string/font_regular"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:text="Sort"
		android:textColor="@color/colorPrimary"
		android:textSize="16sp"
		android:layout_marginBottom="16dp"
		tools:ignore="MissingPrefix"/>

	  <LinearLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:orientation="horizontal"

		android:background="@drawable/rect_grey_stroke"
		>

		<Spinner
		  android:layout_width="match_parent"
		  android:layout_height="match_parent"
		  android:entries="@array/sort"
		  android:id="@+id/sSort"
		  />


	  </LinearLayout>

	</LinearLayout>


	<LinearLayout
	  android:layout_width="match_parent"
	  android:layout_height="wrap_content"
	  android:layout_margin="16dp"
	  android:background="@drawable/rect_white"
	  android:elevation="1dp"
	  android:padding="16dp"
	  android:orientation="vertical"
	  tools:ignore="MissingPrefix">

	  <TextView
		fontPath="@string/font_regular"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:text="Filter"
		android:textColor="@color/colorPrimary"
		android:textSize="16sp"
		android:layout_marginBottom="16dp"
		tools:ignore="MissingPrefix"/>

	  <LinearLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:orientation="horizontal"
		android:gravity="center_vertical"
		android:layout_marginBottom="16dp"
		>

		<EditText
		  android:layout_width="match_parent"
		  android:layout_height="wrap_content"
		  android:hint="Min"
		  android:id="@+id/etMinPrice"
		  android:inputType="numberDecimal"
		  android:gravity="center"
		  android:layout_weight="1"
		  android:background="@drawable/rect_grey_stroke"
		  />

		<TextView
		  android:layout_width="wrap_content"
		  android:layout_height="wrap_content"
		  android:text="-"
		  android:textSize="24sp"
		  android:layout_margin="8dp"
		  />

		<EditText
		  android:layout_width="match_parent"
		  android:layout_height="wrap_content"
		  android:hint="Max"
		  android:id="@+id/etMaxPrice"
		  android:gravity="center"
		  android:inputType="numberDecimal"
		  android:layout_weight="1"
		  android:background="@drawable/rect_grey_stroke"
		  />


	  </LinearLayout>

	  <android.support.v7.widget.AppCompatCheckBox
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:text="On Sale"
		android:id="@+id/cbOnSale"
		android:padding="4dp"
		fontPath="@string/font_regular"
		android:textSize="16sp"
		android:textColor="@color/text_black_5"

		/>

	  <android.support.v7.widget.AppCompatCheckBox
		android:id="@+id/cbFeatured"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:text="Featured"
		android:padding="4dp"
		fontPath="@string/font_regular"
		android:textSize="16sp"
		android:textColor="@color/text_black_5"

		/>


	</LinearLayout>

	<Button
	  android:id="@+id/bFilter"
	  android:layout_width="match_parent"
	  android:layout_height="wrap_content"
	  android:text="Filter"
	  android:layout_margin="16dp"
	  android:textAllCaps="false"
	  android:textColor="#ffffff"
	  android:background="@color/colorAccent"
	  />

  </LinearLayout>
</android.support.v4.widget.NestedScrollView>