views:

294

answers:

2

Hello,

after searching for more than 3h in den the docs and testing I have to ask this question: how can I turn off the orange highlight, when clicking on an item in a GridView?

Thx

+5  A: 

Use android:listSelector="#00000000" in your GridView element in your XML layout file.

CommonsWare
A: 

I did the same thing in code using GridView.setSelector(new ColorDrawable(Color.TRANSPARENT));

Matt