Ripple Android effect on list items
1 answer
Not. You cannot add ripple effect to ListView items using the Android Support Library as the Support Library only supports Lollipop features like FAB, SnackBar, AppBarLayout, FloatingEditText, CoordinatorLayout, CollapsingToolbarLayout, TabLayout, NavigationView
. If you need to create custom ripple effect for listitem in ListView follow this tutorial . It has a very nice sample creating a RippleEffect extending a RelativeLayout so that you can designate this view as the parent layout in the list.
+2
source to share