Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #roid #shape #setCornerRadii
ADD COMMENT
Topic
Name
9+1 =