修改随机pk轮播背景展示问题
This commit is contained in:
parent
ed46eb30a8
commit
e5a07613aa
@ -9,9 +9,9 @@ ext {
|
|||||||
]
|
]
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
//正式、
|
//正式、
|
||||||
serverHost : "https://napi.yaoulive.com",
|
// serverHost : "https://napi.yaoulive.com",
|
||||||
//测试
|
//测试
|
||||||
// serverHost : "https://ceshi.yaoulive.com",
|
serverHost : "https://ceshi.yaoulive.com",
|
||||||
|
|
||||||
//腾讯地图
|
//腾讯地图
|
||||||
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
||||||
|
@ -1861,7 +1861,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
|
|
||||||
public void initPkRank(String isLadders) {
|
public void initPkRank(String isLadders) {
|
||||||
pkRankLayout.setVisibility(View.GONE);
|
pkRankLayout.setVisibility(View.GONE);
|
||||||
liveRankPk2.setVisibility(View.GONE);
|
new LoadDian9TuUtil().loadDian9TuAssets2(mContext, liveRankPk2, "rectangle_new.png", 1);
|
||||||
mRedVal.setVisibility(View.GONE);
|
mRedVal.setVisibility(View.GONE);
|
||||||
mBlueVal.setVisibility(View.GONE);
|
mBlueVal.setVisibility(View.GONE);
|
||||||
mPkRankTopIcon.setVisibility(View.GONE);
|
mPkRankTopIcon.setVisibility(View.GONE);
|
||||||
@ -1901,8 +1901,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
pkRankLayout.setVisibility(View.VISIBLE);
|
pkRankLayout.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
liveRankPk2.setVisibility(View.VISIBLE);
|
liveRankPk2.setVisibility(View.VISIBLE);
|
||||||
new LoadDian9TuUtil().loadDian9TuAssets2(mContext, liveRankPk2, "rectangle_new.png", 1);
|
|
||||||
mPkRankText.setText(bean.getName());
|
mPkRankText.setText(bean.getName());
|
||||||
ImgLoader.display(mContext, bean.getImg(), mPkRankIcon);
|
ImgLoader.display(mContext, bean.getImg(), mPkRankIcon);
|
||||||
if (StringUtil.isEmpty(bean.getPkTopImgUrl())) {
|
if (StringUtil.isEmpty(bean.getPkTopImgUrl())) {
|
||||||
|
@ -535,7 +535,7 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/live_rank_pk"
|
android:id="@+id/live_rank_pk"
|
||||||
android:layout_width="70dp"
|
android:layout_width="85dp"
|
||||||
android:layout_height="20dp"
|
android:layout_height="20dp"
|
||||||
android:layout_alignTop="@id/hour_rank_layout"
|
android:layout_alignTop="@id/hour_rank_layout"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
@ -552,6 +552,7 @@
|
|||||||
|
|
||||||
<ViewFlipper
|
<ViewFlipper
|
||||||
android:id="@+id/rank_pk_vf"
|
android:id="@+id/rank_pk_vf"
|
||||||
|
android:layout_marginStart="5dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:flipInterval="5000"
|
android:flipInterval="5000"
|
||||||
|
Loading…
Reference in New Issue
Block a user