opt ui
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user