Answers for "and roid shape setCornerRadii"

0

and roid shape setCornerRadii

float mRadius=3f;

    GradientDrawable drawable=new GradientDrawable();
    drawable.setShape(GradientDrawable.RECTANGLE);
    drawable.setCornerRadii(new float[]{mRadius, mRadius, 0, 0, 0, 0, mRadius, mRadius});
Posted by: Guest on April-17-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language