title: setSupportActionBar cannot be applied
body: <p>I am trying to use toolbar in my app,
  for this purpose i have create a xml file name
  my_action_bar</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical" android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  &lt;android.support.v7.widget.Toolbar
      android:id="@+id/my_action_bar_toolbar"
      android:layout_width="match_parent"
      android:layout_height="200dp"
      android:background="@color/orange"
      android:minHeight="200dp"
      &gt;
  &lt;ImageView
           android:id="@+id/imgageView"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:src="@drawable/dog"/&gt;
  &lt;/android.support.v7.widget.Toolbar&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>This is my MainActivity code</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      //action bar toolbar
      Toolbar actionBarToolbar = (Toolbar) findViewById(R.id.my_action_bar_toolbar);
      //important that is set first
      setSupportActionBar(actionBarToolbar);
  </code></pre>
  
  <p>but it shows an error line on set support action bar
  set support action bar cannot be applied
  <a href="https://i.stack.imgur.com/zaKdg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zaKdg.png" alt="Error line"></a></p>
  
  <p>How to resolve this error
  I am using Min API is 11
  Any suggestion will be appreciated,
  Thanks in advance</p>