|
|
@@ -217,18 +217,19 @@ public class TaskdetailSonListviewAdp extends BaseAdapter {
|
|
|
screens_iv.setAdjustViewBounds(true);
|
|
|
screens_iv.setScaleType(ImageView.ScaleType.FIT_XY);
|
|
|
|
|
|
- viewHolder.itemView.setLayoutParams(new LinearLayout.LayoutParams(with, with));
|
|
|
+ screens_iv.setLayoutParams(new LinearLayout.LayoutParams(with, with-50));
|
|
|
|
|
|
if(TextUtils.isEmpty(taskDescEntity.getDesc())){
|
|
|
screens_tv.setVisibility(View.GONE);
|
|
|
}else {
|
|
|
screens_tv.setVisibility(View.VISIBLE);
|
|
|
screens_tv.setText("" + taskDescEntity.getDesc());
|
|
|
+ screens_tv.setMaxWidth(with);
|
|
|
}
|
|
|
|
|
|
Glide.with(context)
|
|
|
.load(taskDescEntity.getImg())
|
|
|
- .apply(new RequestOptions().override(with, with))
|
|
|
+ .apply(new RequestOptions().override(with, with-50))
|
|
|
.into(screens_iv);
|
|
|
screens_iv.setOnClickListener(new View.OnClickListener() {
|
|
|
@Override
|