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
Post a Comment