How to make Only Some Views touchable while making the others (like RelativeLayout) not touchable
<pre><code>Window w = getWindow();
w.addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
</code></pre>

<p>The above code is to make the whole window not touchable.</p>

<p>However, the button inside this window is also being not Touchable, while I want it to be clickable.</p>

<pre><code>protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

Window w = getWindow();
w.addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);

b = (Button)findViewById(R.id.button1);
b.setClickable(true);
b.setOnClickListener(this);

}
</code></pre>

<p>How can I make on that button touchable?</p>
