我想添加涟漪效果到一个视图,但它似乎不工作时,我添加
android:background="?android:attr/selectableItemBackgroundBorderless"
当我添加了
Android:background="?android:attr/selectableItemBackground"
It works with android 12 and older but not work with android 13 and newer.
With android 13 and newer only Android:background="?android:attr/selectableItemBackground"
is working, But I want the Ripple behavior of android:background="?android:attr/selectableItemBackgroundBorderless"
.
请帮帮忙.
谢谢你!