Bitmap bigBm = ((BitmapDrawable) getResources().getDrawable(R.drawable.ic_game_tu)).getBitmap();这句话的getDrawable在Android Studio中过时了,写成getDrawable(R.drawable.ic_game_tu,null)又会报错,改怎么改
老师,Bitmap bigBm = ((BitmapDrawable) getResources().getDrawable(R.drawable.ic_game_tu)).getBitmap();这句话的getDrawable在Android Studio中过时了,写成getDrawable(R.drawable.ic_game_tu,null)又会报错,改怎么改