最新回答 / Keldian2016
private int[] mm = { R.drawable.m1, R.drawable.m2, R.drawable.m3, R.drawable.m4, R.drawable.mm };把多个图片资源放入drawable中,声明一个数组存储。private void initBitmap() {// if (mBitmap == null) { mBitmap = BitmapFactory.decodeResource(getResources(), mm[(int) (Mat...
2015-02-25