<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <RelativeLayout
        android:id="@+id/rlTransactionToolsHeader"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">

        <EditText
            android:id="@+id/etTransactionSearch"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentStart="true"
            android:layout_toStartOf="@+id/btnTransactionsFilterDisplay" />

        <Button
            android:id="@+id/btnTransactionsFilterDisplay"
            android:layout_width="40dip"
            android:layout_height="40dip"
            android:layout_alignParentTop="true"
            android:layout_toStartOf="@+id/spTransactionsOrder"
            android:visibility="gone" />

        <Spinner
            android:id="@+id/spTransactionsOrder"
            android:layout_width="40dip"
            android:layout_height="40dip"
            android:layout_alignParentEnd="true"
            android:background="@drawable/sort_transactions_icon"
            android:text="order" />
    </RelativeLayout>

    <android.support.v7.widget.RecyclerView
        android:id="@+id/transactionListView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:padding="4dp"
        android:clipToPadding="false"
        tools:listitem="@layout/transaction_list_item"
        />
</LinearLayout>