Issue
I want to set a ripple effect on textview and imageview in Android Studio. How can I do it?
Solution
Ref : http://developer.android.com/training/material/animations.html,
http://wiki.workassis.com/category/android/android-xml/
<TextView
.
.
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
/>
<ImageView
.
.
.
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
/>
Answered By - Bikesh M
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.