If you are encountering a situation where you are building a list but the android list item has no click effect here is what you can do.

Android list item has no click effect

I was building an list that was inside an android fragment, for some reason there was no click effect on it but the following code segment placed on the list item layout XML markup fixed it.


It placed the ripple effect on it that we are so used to since the material theme came in.

I hope this helped, let me know in the comments.

If you are having trouble you can take a look at these Stack overflow answers: https://stackoverflow.com/questions/28636377/ripple-effect-over-a-recyclerview-item-containing-imageview