I want to create similar ripple effect which is shown in red box and is indicated with an arrow.
Whenever I set selectableItemBackground to any element, it just displays ripple over the element's layout bounds, and not like the one I have shared above.
Please share a working example. Thanks.
Use selectableItemBackgroundBorderless
instead of selectableItemBackground
.
use actionBarItemBackground value for background
android:background="?android:attr/actionBarItemBackground"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With