I\'m trying to disable the highlighting of objects in a GridView in Android 2.2.
I found this other answer saying that I should set the selector to a transparent Col
In the definition of your Adapter for the GridView, you will have to override the following methods:
@Override
public boolean areAllItemsEnabled()
{
return false;
}
@Override
public boolean isEnabled(int position)
{
return false;
}
This will cause all of the items in your grid to be non-selectable, and will get rid of the highlight completely.