ContextCompat.getDrawable(mContext, R.drawable.icon); 直接用getDrawable必须设置minSdkVersion >= 21才行,否则方法不存在