NinePatchDrawable drawable = (NinePatchDrawable) context.getResources().getDrawable(R.drawable.btn_default_normal);
paint.setColor(Color.BLUE);
int width = (int)this.mRect.width();
int height = ( ...
↧