已采纳回答 / 不知为不知0
看你的initTriangle()函数,void moveTo(float x, float y) Set the begining of the next contour to the point (x,y).这个只是起始点要用到,后面画线用void lineTo(float x, float y)函数:Add a line from the last point to the specified point (x, y).
2016-04-01
最赞回答 / 凄凉的唯美
可以用LayoutInflater mInflater = layoutInflater.from(this.context); View veiw = mInflater.inflater(R.layout.item),把一个xml文件转换成一个view.
2016-03-12