mSelectEndorseReasonTv.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.toup, 0);新属性
替换:
Drawable drawable = mContext.getResources().getDrawable(mDrawableMap.get(mQueryOrderResult.firstCarrier));
drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
holder.mCarrierandFlightNo.setCompoundDrawablePadding(5);
holder.mCarrierandFlightNo.setCompoundDrawables(drawable, null, null, null);