I have a list view and want each cell in my within it to be disabled so that when you tap on it the text colors stay the same.
But I want it to be scrollable.
How can I achieve this?
I have a list view and want each cell in my within it to be disabled so that when you tap on it the text colors stay the same.
But I want it to be scrollable.
How can I achieve this?
This similar post might be of help. The general approach is to disable all the items instead of the whole view. Essentially:
ArrayAdapter (or any other adapter)isEnabled(int position) to return falseareAllItemsEnabled() to return falseall the easier! list.setEnabled(false)
Did you try adding android:clickable="false" to the list view's rows?