This commit is contained in:
lixiaopeng
2020-09-11 17:47:29 +08:00
parent e952dec73b
commit 54c04d26ea
2 changed files with 5 additions and 7 deletions

View File

@@ -82,13 +82,11 @@ public class V2XSurroundingAdapter extends RecyclerView.Adapter<V2XSurroundingVi
});
//数据绑定
Glide.with(mContext)
.load(getTypeRes(surroundingConstruction.getPoiType()))
.into(mBgImageView);
// Glide.with(mContext)
// .load(getTypeSmallRes(surroundingConstruction.getPoiType()))
// .into(mTypeImageView);
// .load(getTypeRes(surroundingConstruction.getPoiType()))
// .into(mBgImageView);
mBgImageView.setBackgroundResource(getTypeRes(surroundingConstruction.getPoiType()));
RequestOptions requestOptions = new RequestOptions()
.placeholder(R.drawable.v2x_icon_live_logo)

View File

@@ -7,9 +7,9 @@
<ImageView
android:id="@+id/iv_event_bg"
android:scaleType="fitXY"
android:src="@drawable/mogo_image_nongwu_nor"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- android:src="@drawable/mogo_image_nongwu_nor"-->
<RelativeLayout
android:layout_alignParentBottom="true"