getResources().getDrawable(R.drawable.panel_divider) ContextCompat.getDrawable(context,R.mipmap.panel_divider)