I have a simple layout, a listview, and two icons for filtering and sorting options. When I click on the either of the two options I have a layout that is placed above the listview and covers only 60% of the screen thereby making the listview below it partially visible. What I want to achieve is to disable the scrolling for that listview also, none of the listview item should be clickable as long as the overlay is visible.
I tried using
setEnabled(false)
setClickable(false)
on the listview but it doesn't make any difference. What are other ways to achieve this.