Add ripple effect to Button using Sketchware

Опубликовано: 02 Май 2026
на канале: Sketch Logic
2,456
36

Hi friends...



In this video I will show you how to add ripple effects.



Code used

android.graphics.drawable.RippleDrawable ripdr = new android.graphics.drawable.RippleDrawable(new android.content.res.ColorStateList(new int[][]{new int[]{}}, new int[]{ Color.GREEN}), new android.graphics.drawable.ColorDrawable(Color.WHITE), null);
button1.setBackground(ripdr);




If you like this video please hit the subscribe button and don't forget to press the bell icon so that you don't miss any of the updates from the channel...




Thank you...