static void setCornerRadii (GradientDrawable drawable, float r0, float r1, float r2, float r3) { drawable.setCornerRadii (new float[] { r0, r0, r1, r1, r2, r2, r3, r3 }); }