修改随机pk轮播背景展示问题

This commit is contained in:
18401019693 2023-04-02 17:22:10 +08:00
parent ed46eb30a8
commit e5a07613aa
3 changed files with 6 additions and 5 deletions

View File

@ -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",

View File

@ -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())) {

View File

@ -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"