<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:ripple="http://schemas.android.com/apk/res-auto"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentTop="true"
                android:layout_marginBottom="@dimen/title_shadow_height_3">

    <RelativeLayout
        android:id="@+id/rl_title"
        android:layout_width="match_parent"
        android:layout_height="@dimen/title_bg_height"
        android:layout_alignParentTop="true"
        android:background="?attr/colorValue">

        <ImageButton
            android:id="@+id/ib_back"
            android:layout_width="@dimen/title_icon_size"
            android:layout_height="@dimen/title_icon_size"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:background="@drawable/btn_selector_white"
            android:onClick="back"
            android:padding="@dimen/title_btn_padding"
            android:scaleType="centerInside"
            android:src="@drawable/ic_arrow_back_white_24dp"/>

        <TextView
            android:id="@+id/tv_title"
            style="@style/CommonTitleTV"
            android:text="@string/title"/>

        <ImageButton
            android:id="@+id/ib_right"
            android:layout_width="@dimen/title_icon_size"
            android:layout_height="@dimen/title_icon_size"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:background="@drawable/btn_selector_white"
            android:padding="@dimen/title_btn_padding"
            android:tint="@color/white"
            android:scaleType="centerInside"
            android:src="@drawable/ic_title_add"
            android:visibility="gone"/>
    </RelativeLayout>

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

</RelativeLayout>