For some reason, I didn’t have extra space around gridview’s column borders in emulator but found out that the extra pixels in my real device (Galaxy S). So I would like to try:
android:listSelector="@null"
programmatically.
I know its related method is setSelector. But what number or id should I give for "@null"? I tried 0 but it made app crash.
UPDATE: I resolved the problem by making my own selector.
Use this:
Will disable the selector 🙂