调整PK排位赛中,连胜大于等于3场才显示连胜字样
This commit is contained in:
parent
9b37374066
commit
7842c1b838
@ -1540,9 +1540,14 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
pkRankVf.addView(titleIcon);
|
pkRankVf.addView(titleIcon);
|
||||||
pkRankVf.addView(hourView);
|
pkRankVf.addView(hourView);
|
||||||
pkRankVf.startFlipping();
|
pkRankVf.startFlipping();
|
||||||
|
if(Integer.parseInt(bean.getRedVal())>2) {
|
||||||
mRedVal.setText(bean.getRedVal()+"連勝");
|
mRedVal.setVisibility(View.VISIBLE);
|
||||||
mBlueVal.setText(bean.getBlueVal()+"連勝");
|
mRedVal.setText(bean.getRedVal() + "連勝");
|
||||||
|
}
|
||||||
|
if(Integer.parseInt(bean.getBlueVal())>2) {
|
||||||
|
mBlueVal.setVisibility(View.VISIBLE);
|
||||||
|
mBlueVal.setText(bean.getBlueVal() + "連勝");
|
||||||
|
}
|
||||||
//ImgLoader.display(mContext,bean.getPkTopImgUrl(),mPkRankTopIcon);
|
//ImgLoader.display(mContext,bean.getPkTopImgUrl(),mPkRankTopIcon);
|
||||||
}
|
}
|
||||||
}, Throwable::printStackTrace)
|
}, Throwable::printStackTrace)
|
||||||
|
@ -1273,7 +1273,8 @@
|
|||||||
android:paddingBottom="8dp"
|
android:paddingBottom="8dp"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/pk_rank_blue_val"
|
android:id="@+id/pk_rank_blue_val"
|
||||||
@ -1290,7 +1291,8 @@
|
|||||||
android:paddingBottom="8dp"
|
android:paddingBottom="8dp"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/pk_red_layout"
|
android:id="@+id/pk_red_layout"
|
||||||
|
Loading…
Reference in New Issue
Block a user