Code:
android.graphics.drawable.RippleDrawable ripdr = new android.graphics.drawable.RippleDrawable(new android.content.res.ColorStateList(new int[][]{new int[]{}}, new int[]{ Color.parseColor("#0289cd")}), new android.graphics.drawable.ColorDrawable(Color.WHITE), null);
LinearLayout lin1 = (LinearLayout)
_drawer.findViewById(R.id.linear4);
lin1.setBackground(ripdr);
Ещё видео!