I tried to make border in view but this error is coming

前端 未结 0 1876
遇见更好的自我
遇见更好的自我 2021-02-09 23:49
    public void SetBorder(int color,int width,View view){
    GradientDrawable drawable = (GradientDrawable)view.getBackground();
        drawable.setStroke(width,color)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题