This is not the same question as the two questions I posted before, same app but different question. I am adding ImageButtons one at a time to a GridLayout using RecyclerView. My app listens for incoming images and strings to label the buttons.
I need the background of the buttons to be transparent (not the grey square you see). If I set:
android:background="#00000000"
for my blank image button that gets filled using RecyclerView, then it is like a transparent button is placed on top of my image, and my onClickListener for my button doesn't work anymore. Where do I set these parameters? In my RecyclerViewAdapter?