<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:background="?android:attr/selectableItemBackgroundBorderless"//此背景为安卓中默认颜色
android:clickable="true"
android:text="默认水波纹颜色:无边界效果" />
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:background="?android:attr/selectableItemBackground"//此背景为安卓中默认颜色
android:clickable="true"
android:gravity="center"
android:text="默认水波纹颜色:无界效果" />
android:colorControlHighlight:设置波纹颜色
android:colorButtonNormal:设置默认背景颜色