<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    android:id="@+id/toolbar_layout"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/colorPrimary"
    android:elevation="2dp"
    android:fitsSystemWindows="true"
    android:orientation="vertical">

    <FrameLayout
        android:id="@+id/tabs_toolbar_container"
        android:layout_width="match_parent"
        android:layout_height="30dp"/>

    <android.support.v7.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:paddingBottom="0dp"
        android:paddingLeft="0dp"
        android:paddingRight="0dp"
        android:paddingTop="2dp"
        custom:contentInsetEnd="0dp"
        custom:contentInsetStart="0dp"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?attr/progressBackgroundColor">

        <com.anthonycr.progress.AnimatedProgressBar
            android:id="@+id/progress_view"
            android:layout_width="match_parent"
            android:layout_height="2dp"
            android:background="@android:color/transparent"
            custom:bidirectionalAnimate="false"
            custom:progressColor="?attr/colorAccent"/>
    </LinearLayout>

</LinearLayout>