Skip to content Skip to sidebar Skip to footer

Listview Items Not Showing Tap Animation

When I first created my ListView, tapping an item made a nice gradient animation, but it doesn't show anymore for some reason, and I've made too many recent changes to tell what br

Solution 1:

It's the material design. Since android 5.0, google show us the Material Design. The ListView is a part of it. You can check if the device's version is android 5.0 or later. Also you can use some libraries like this one. The animation is like this. Check the last section Z-axis motion.

You find the animation is gone because you set the background color. Try to remove the item's background.

Post a Comment for "Listview Items Not Showing Tap Animation"