title: getSupportActionBar().setCustomView(view) does not fill entire actionbar
body: <p>I'm trying to set the customview of my app and the layout i made does not fill the entire actionbar.
  I've tried so many style settings but none has worked for me.</p>
  <p>here's my code in activity</p>
  <pre><code>View view = getLayoutInflater().inflate(R.layout.actionbar_customized_home, null);
  getSupportActionBar().setDisplayShowCustomEnabled(true);
  getSupportActionBar().setCustomView(view);
  </code></pre>
  <p>here's the layout placed set as view</p>
  <pre><code>&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;wrap_content&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:background=&quot;@color/actionbar_color&quot;
      &gt;
  
      &lt;ImageView
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;25dp&quot;
          android:layout_centerInParent=&quot;true&quot;
          android:scaleType=&quot;fitCenter&quot;
          android:src=&quot;@drawable/logo&quot;/&gt;
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  <p><img src="https://i.stack.imgur.com/0pT8u.png" alt="" /></p>
  <p>Even the background of the menu items like the navdrawer how can I make my customview as background color?</p>
  <p>I really appreciate the help</p>