material design - Android ListFragment: How to enable the Lollipop "Ripple Effect"? -
i have activity listfragment inside (to support tablet-layout, thats not important).
now want enable ripple effect listfragment. example in activity, use normal listview , works there automaticly.
how possible in easy way?
example (not listfragment you'll point) 
no need define ripple effect. if want activate standard ripple effect on api 21+ apply
android:background="?android:selectableitembackground" on list item. provide same selector-like effect on pre-api 21 devices without ripple.
Comments
Post a Comment