title: How to disable the listener and input on First view FrameLayout
body: <p>I have Two children on a <code>FrameLayout</code>, a <code>view pager</code> and a <code>backround view</code>
  I add the background view as a second child , so it's supposed to be on top of my view pager.</p>
  
  <p>The problem is I can still scroll my view pager despite of having another view on top of it.</p>
  
  <p>the structure is :</p>
  
  <pre><code>&lt;FrameLayout&gt;
  
     &lt;DrawerLayout&gt;contains view pager and content&lt;/DrawerLayout&gt;
     &lt;LinearLayout&gt;&lt;/LinearLayout&gt; -&gt; this is where I add my view as a black background
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>How do I disable the input and listener for the first child of the framelayout or is there an easier way of doing this? </p>
  
  <p>Tried setting the <code>elevation</code>, and <code>bringViewToFront()</code>, but those aren't working.</p>
  
  <p>Thanks</p>