title: How to fade the activity when slider menu opened in andorid?
body: <p>I am using this library <a href="https://github.com/jfeinstein10/SlidingMenu" rel="nofollow">Sliding menu</a> . But its is not fading the main view when the slider opened. I want the above view got faded when the sliding menu is opened.</p>
  
  <pre><code>SlidingMenu sm = getSlidingMenu();
          sm.setMode(SlidingMenu.LEFT);
          sm.setShadowWidthRes(R.dimen.shadow_width);
          sm.setShadowDrawable(R.drawable.shadow);
      //  sm.setBehindOffsetRes(R.dimen.slidingmenu_offset);
  
          sm.setFadeEnabled(true);
          sm.setFadeDegree(0.5f);
          sm.setBehindWidth(500);
  
          sm.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
  </code></pre>