I have a ViewGroup
(specifically a LinearLayout
) which I would like to be clickable, and have the normal click actions/animations (for example, the background color changes just a bit when clicked (pre-Lollipop) and have the ripple animation (Lollipop).
I have an onClickListener setup, and have set clickEnabled to true, but still I get no animation.
How can I get this?
Thanks!