How to add Ripple Effect in Drawer in Sketchware

android.graphics.drawable.RippleDrawable ripdr1 = new android.graphics.drawable.RippleDrawable(new android.content.res.ColorStateList(new int[][]{new int[]{}}, new int[]{Color.parseColor("#BDBDBD")}), new android.graphics.drawable.ColorDrawable(Color.parseColor("#FFFFFF")), null);
_drawer_linear1.setBackground(ripdr1);

Comments

Popular posts from this blog

How to Create Material Ripple Effect in Sketchware

How to Create Custom Notifications with Listeners

How to create Custom Dialog in Sketchware