ShapeDrawable做放大镜效果
引用一下ShapeDrawable的类的说明: java.lang.Object ? android.graphics.drawable.Drawable ? android.graphics.drawable.ShapeDrawable Class Overview A Drawable object that draws primitive shapes. A ShapeDrawable takes a Shape object and manages its presence on the screen. If no Shape is given, then the ShapeDrawable will default to a RectShape. It can be defined in an XML file with the <shape> element. file location: res/drawable/filename.xml The filename is used as the resource ID. compiled resource datatype: Resource pointer to a ShapeDrawable. resource reference: In Java: R.drawable.filename In XML: @