Android disable scroll and click for listview -


i have simple layout, listview, , 2 icons filtering , sorting options. when click on either of 2 options have layout placed above listview , covers 60% of screen thereby making listview below partially visible. want achieve disable scrolling listview also, none of listview item should clickable long overlay visible.

i tried using

setenabled(false) setclickable(false) 

on listview doesn't make difference. other ways achieve this.

you can use disabling parent scrollview

parentview.requestdisallowintercepttouchevent(true);

if overlay visible .


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -