<android.support.v7.widget.Toolbarandroid:id="@+id/toolbar"android:layout_width="match_parent"android:layout_height="?actionBarSize"app:title="Toolbar"app:subtitle="Toolbars are amazing"app:titleTextAppearance="@style/ToolbarTextAppearance.Title"app:subtitleTextAppearance="@style/ToolbarTextAppearance.Subtitle"style="@style/MyToolbar"/>

<android.support.v7.widget.Toolbarandroid:id="@+id/toolbar"android:layout_width="match_parent"android:layout_height="?actionBarSize"app:title="Toolbar"app:subtitle="Toolbars are amazing"style="@style/MyToolbar"/>