动态设置Shape背景color
GradientDrawable gradientDrawable = (GradientDrawable)view.getBackground();gradientDrawable.setColor(context.getResources().getColor(color));
TextView设置右图片
textview.setCompoundDrawablesWithIntrinsicBounds(null, null, context.getResources().getDrawable(R.mipmap.expand_down), null);