title: android toolbar: how to have a toolbar with image in the background and menu items on top
body: <p>Using material design how to create a toolbar with background image.</p>
  
  <p>the following is what i want:</p>
  
  <p><a href="https://i.stack.imgur.com/JqZLV.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/JqZLV.jpg" alt="toolbar with image and overflow and search menu icon."></a></p>
  
  <p>I am trying the following code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/actionBar"
      android:layout_width="match_parent"
      android:layout_height="200dp"
      app:contentInsetEnd="0dp"
      app:contentInsetStart="0dp" 
      android:minHeight="200dp"&gt;
  
      &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/imageViewplaces"
          android:src="@drawable/puri" 
          android:layout_gravity="center"/&gt;
  
  &lt;/android.support.v7.widget.Toolbar&gt;
  </code></pre>
  
  <p>and what i am getting is:</p>
  
  <p><a href="https://i.stack.imgur.com/G4pIF.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/G4pIF.jpg" alt="enter image description here"></a></p>