如何在Android上的textview或imageview上设置涟漪效应?

我想在Android Studio中对textview和imageview设置涟漪效应。我该怎么做?
参考: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"
/>
http://stackoverflow.com/questions/33477025/how-to-set-a-ripple-effect-on-textview-or-imageview-on-android

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:如何在Android上的textview或imageview上设置涟漪效应?