Android Question Ripple effect on button with background image

I have used Ripple effect library but it isn't as good as Android's effect and it lags on some of the buttons of old device's. It's interesting I don't know why just some of the buttons have lags! Anyway

The question is "Is there a way to use any kind of buttons like appcompat buttons or image view with background image and ripple effect?"

thanks in advance 😊
Last edited: