Android - 如何实现这种类型的工具栏?

Android - How can I achieve this type of toolbar?

我注意到 PlayStore 上最近的应用程序中使用了这种类型的工具栏,我需要实现它。

我知道如何在 XML 中创建一个简单的工具栏。

简单工具栏

<android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:background="@color/ColorPrimary"
            android:layout_height="?attr/actionBarSize"
            app:layout_collapseMode="pin"
            android:theme="@style/about_toolbar"
            >
... 

</android.support.v7.widget.Toolbar>

我好像是一个带填充的工具栏。

所以我不太确定。 请做过这件事的人帮帮我!

cardView 示例:

<?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout  xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#bcbcbc"
        >
        <android.support.v7.widget.CardView
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:layout_alignParentTop="true"
            android:layout_margin="20dp"
            android:background="@android:drawable/dialog_holo_light_frame"
            />
    </RelativeLayout>