Qusetions
How setScaleType?
setScaleType in conjunction with setFrame
setScaleType
| 1 | /** | 
setFrame
| 1 | 
 | 
How setSrc and setBackground?
- setBackGround: same as View 
- setSrc: add a new parameter mDrawable and provider the four methods - setImageResource - setImageURI 
 setImageDrawable
 setImageBitmap- above all use the method configureBounds and then come to our slight by onDraw. - give “setImageDrawable” as an Example. 
setImageResource
| 1 | /** | 
updateDrawable
| 1 | private void updateDrawable(Drawable d) { | 
configBounds
| 1 | private void configureBounds() { | 
onDraw
| 1 | 
 |