update:根据需求修改购买守护界面UI
This commit is contained in:
parent
9c0a1dd19f
commit
fd057a0dca
@ -132,7 +132,7 @@ public class LiveNewGuardBuyDialogFragment extends AbsDialogFragment implements
|
||||
buy2 = mRootView.findViewById(R.id.buy2);
|
||||
guard_tips = mRootView.findViewById(R.id.guard_textView2);
|
||||
|
||||
iconCover.setImageResource(R.drawable.guardian_img_wings);
|
||||
//iconCover.setImageResource(R.drawable.guardian_img_wings);
|
||||
|
||||
mBtnBuy.setOnClickListener(this);
|
||||
submit.setOnClickListener(this);
|
||||
@ -201,7 +201,11 @@ public class LiveNewGuardBuyDialogFragment extends AbsDialogFragment implements
|
||||
private void initView() {
|
||||
int guardType = mLiveGuardInfo.getMyGuardType();
|
||||
if (guardType == Constants.GUARD_TYPE_NONE) {
|
||||
iconCover.setBackgroundResource(R.drawable.guardian_img_wings);
|
||||
// iconCover.setBackgroundResource(R.drawable.guardian_img_wings);
|
||||
userIconOne.setVisibility(View.VISIBLE);
|
||||
userIconTwo.setVisibility(View.VISIBLE);
|
||||
ImgLoader.display(mContext, mAncherIcon, userIconOne);
|
||||
ImgLoader.display(mContext, mUserIcon, userIconTwo);
|
||||
buy1.setVisibility(View.VISIBLE);
|
||||
buy2.setVisibility(View.GONE);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user