摘要: 如何在代码中创建圆环:先看效果图代码;import android.graphics.drawable.GradientDrawable; GradientDrawable circle = new GradientDrawable(); circle.setSize(200, 200);//设置圆环宽高 circle.setShape(GradientDrawable.OVAL);//设置形状为圆环 circle.setColor(Color.TRANSPARENT);//设置圆环内部填充颜色 circle.setStro... 阅读全文
posted @ 2013-07-24 15:47 QG_Li 阅读(829) 评论(0) 推荐(0)