I'm trying to code a navigation drawer using the new way to do it. My problem at the moment comes when trying to define my own app toolbar.

Here is my XML code.

```
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
    android:paddingTop="@dimen/app_bar_top_padding"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/primaryColor"
    app:theme="@style/MyCustomToolBarTheme"
    app:popupTheme="@style/ThemeOverlay.AppCompat.Dark">
</android.support.v7.widget.Toolbar>

```

This is the app\_bar.xml

In the preview of android studio, when trying to render it I'm getting the following error:

\*Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.  

-Failed to find style 'toolbarStyle' in current theme (4 similar errors not shown) 

-"?attr/actionBarSize" in attribute "minHeight" is not a valid format. (Edit) (2 similar errors not shown)\*

How could I solve it??

Thank you so much.