Answer the question
In order to leave comments, you need to log in
RippleDrawable to change the background color on which the ripple grows?
In the screenshot you can see when you click, the background appears on which the ripple grows, but I wanted the background to appear when you click, but the growing ripple was not there or that it was not visible
I know how to change the color of the ripples, but here's how to change the background color on which it grows, while I use ripples without elements to go beyond the view
RippleDrawable rippleDrawable = new RippleDrawable(new ColorStateList(new int[][]{new int[] {android.R.attr.state_pressed}}, new int[] {getResources().getColor(R.color.ads)}), null, null);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question