0.java绘制shape 在官方API介绍中: ShapeDrawable:This object can be defined in an XML file with the <shape> element(这个对象可以用<shape>元素在xml文件中定义) GradientDrawable:This object can be defined in an XML file with the <shape> element(这个对象可以用<shape>…
这一类的shape定义在xml中 file location: res/drawable/filename.xml The filename is used as the resource ID.(这个文件名作为资源id) compiled resource datatype:(复杂资源的数据类型) Resource pointer to a GradientDrawable. resource reference(资源参考): In Java: R.drawable.filename In X…