Android material design for ripple effect on click
Ripple effect is when a view is clicked, the view respond by displaying a wave like animation on top of the view.
ripple_effect.xml, place this in the drawable folder for api below 21
ripple_effect.xml, place this in drawable-v21 for api 21 and above
The above ripple effect drawable can be applied to any views (Button, LinearLayout, RelativeLayout, etc) by setting the background to
android:background="@drawable/ripple_effect"
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts