Note that there are some explanatory texts on larger screens.

plurals
  1. POActionBarSherlock - Weird color underneath
    primarykey
    data
    text
    <p>I've been working with the libraries ActionBarSherlock and SlidingMenu. It has been working pretty well, but I noticed a weird color right under the ActionBar. It looks like this:</p> <p><a href="http://imgur.com/vHspl" rel="nofollow">http://imgur.com/vHspl</a></p> <p>My background color is #E7E7E7, and I don't know where this #DEDFDE comes from. I noticed the color in the SlidingMenu Example application ( <a href="https://play.google.com/store/apps/details?id=com.slidingmenu.example" rel="nofollow">https://play.google.com/store/apps/details?id=com.slidingmenu.example</a> ) and I really don't like it. I'm not sure what code to post so there is my setup of the SlidingMenu</p> <pre><code>sm = new SlidingMenu(this); sm.setMode(SlidingMenu.LEFT); sm.setBehindOffsetRes(R.dimen.slidingmenu_offset); sm.setFadeEnabled(false); sm.setBehindScrollScale(0.0f); sm.setFadeEnabled(true); sm.setFadeDegree(0.5f); sm.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN); SlidingMenu.attachSlidingMenu(this, sm, true); sm.setMenu(R.layout.lists_frame); </code></pre> <p>My ActionBar Java setup</p> <pre><code>ActionBar mActionBar = getSupportActionBar(); mActionBar.setHomeButtonEnabled(true); mActionBar.setLogo(R.drawable.actionbar_lists); mActionBar.setTitle("Choose a list"); </code></pre> <p>And my styles.xml</p> <pre><code> &lt;style name="AppTheme" parent="Theme.Sherlock.Light.DarkActionBar"&gt; &lt;item name="actionBarStyle"&gt;@style/Widget.MyTheme.ActionBar&lt;/item&gt; &lt;item name="android:actionBarStyle"&gt;@style/Widget.MyTheme.ActionBar&lt;/item&gt; &lt;/style&gt; &lt;style name="Widget.MyTheme.ActionBar" parent="Widget.Sherlock.ActionBar"&gt; &lt;item name="android:background"&gt;#ff0099ff&lt;/item&gt; &lt;item name="background"&gt;#ff0099ff&lt;/item&gt; &lt;/style&gt; </code></pre> <p>I would of course like to get rid of it, and I tried searching but without an answer. Hope you guys can help, and if you need any other code snippets, please say so.</p> <p>It should also be said that if I use</p> <pre><code>SlidingMenu.attachSlidingMenu(this, sm, false); </code></pre> <p>the color also appears on the view below.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload