title: Android SlidingPaneLayout Fade
body: <p>I am trying a prototype app with SlidingPaneLayout. My SlidingPaneLayout is gray and body view is pure white.
  but when i slide in, the small visible area of body page goes slightly dark or overlaying with dark screening. all i want is pure original white color of that body view.</p>
  
  <p>I tried couple of Methods to switch off these but seems impossible. such as</p>
  
  <pre><code>SlidingPaneLayout sp = (SlidingPaneLayout) findViewById(R.id.mainSlider);
  sp.setHorizontalFadingEdgeEnabled(false);
  </code></pre>
  
  <p>or following property in XML </p>
  
  <pre><code>&lt;android.support.v4.widget.SlidingPaneLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:id="@+id/mainSlider"
      android:requiresFadingEdge="none" &lt;!-- try one --&gt;
      android:fadingEdgeLength="0dp"  &lt;!-- try two --&gt;
      android:fadingEdge="none"  &lt;!-- try three --&gt;
      tools:context=".MainActivity"&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/neX1v.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/BzBgr.png" alt="enter image description here"></p>
  
  <p>Any one of you, have you ever done this successfully?</p>