title: How to make ActionBar and stacked bar share same background image
body: <p>is it possible for actionbar and it's stacked bar(one that contain navigation tabs) to share same background image? one that starts from actionbar and ends at stacked bar?</p>
  
  <p>currently the way am implementing this, am ending up having action bar with it own image and stacked bar with its own.</p>
  
  <p><strong>my styles.xml</strong></p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;!-- Customize your theme here. --&gt;
      &lt;item name="android:actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
      &lt;item name="android:actionMenuTextColor"&gt;@color/app_yellow&lt;/item&gt;
      &lt;item name="android:windowActionBarOverlay"&gt;true&lt;/item&gt;
  
      &lt;!-- Support library compatibility --&gt;
      &lt;item name="actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt;
      &lt;item name="actionMenuTextColor"&gt;@color/app_yellow&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;!-- ActionBar styles --&gt;
  &lt;style name="MyActionBar" parent="@style/Widget.AppCompat.Light.ActionBar"&gt;
  
      &lt;item name="android:titleTextStyle"&gt;@style/MyActionBarTitleText&lt;/item&gt;
  
      &lt;item name="android:actionBarTabTextStyle"&gt;@style/MyActionBarTabText&lt;/item&gt;
  
      &lt;item name ="android:actionBarTabStyle"&gt;@style/MyTabStyle&lt;/item&gt;
  
      &lt;item name="background"&gt;@drawable/actionbar&lt;/item&gt;
  
  &lt;/style&gt;
  
   &lt;!-- individual ActionBar tabs style --&gt;
  &lt;style name="MyTabStyle" parent ="Widget.AppCompat.Light.ActionBar.TabView"&gt;
      &lt;item name ="background"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name ="android:background"&gt;@android:color/transparent&lt;/item&gt;
  
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>in my activity</strong></p>
  
  <pre><code>  @Override
  protected void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.activity_main);
  
     ActionBar actionBar = getSupportActionBar();
      // Specify that tabs should be displayed in the action bar.
      actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
      actionBar.setLogo(R.mipmap.ic_launcher);
      actionBar.setDisplayUseLogoEnabled(true);
      actionBar.setDisplayShowHomeEnabled(true);
      actionBar.setStackedBackgroundDrawable(getResources().getDrawable(R.drawable.actionbar));
  </code></pre>