最新回答 / 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