摘要:
codeprotected NinePatchDrawable shadowLeft;......Bitmap image = BitmapFactory.decodeResource(context.getResources(),R.drawable.shadow_left);byte[] chunk= image.getNinePatchChunk();shadowLeft=new NinePatchDrawable(context.getResources(), image, chunk, new Rect(), null);shadowLeft.setBo... 阅读全文