Check with the following method.
GridView.setBackgroundResource(R.drawable.new_image_to_be_shown);
This will allow you to change the background of your selected item as a new image.
And if you want to change the color of the selected item, use -
GridView.setBackgroundColor(int color);
This will solve your problem.
Kamna Bhagwani
source share