This is the XML for the Toolbar layout...
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mToolbar"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v7.widget.Toolbar>
I'm using the support library to use a Toolbar as my ActionBar. I did this in onCreate...
Toolbar mToolbar = (Toolbar)getLayoutInflater().inflate(R.layout.toolbar, null);
setActionBar(mToolbar);
But if gives me the red squigglies and tells me that message in the title. I'm like, LULWUT?!