This commit is contained in:
zlzw 2022-08-29 09:47:44 +08:00
parent 308ceeb28c
commit c9ce55f483
4 changed files with 9 additions and 5 deletions

View File

@ -32,9 +32,9 @@ import static com.yunbao.common.CommonAppContext.isReady;
*/ */
public class RongcloudIMManager { public class RongcloudIMManager {
//融云开发者平台注册app唯一识别符 //融云开发者平台注册app唯一识别符
public static final String RONG_IM_KEY = "uwd1c0sxu1p71"; // public static final String RONG_IM_KEY = "uwd1c0sxu1p71";
//测试环境 //测试环境
// public static final String RONG_IM_KEY = "pvxdm17jpd3hr"; public static final String RONG_IM_KEY = "pvxdm17jpd3hr";
private static final String CLASSNAME = "RongcloudIMManager"; private static final String CLASSNAME = "RongcloudIMManager";

View File

@ -1075,7 +1075,11 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
View wish = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list, null); View wish = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list, null);
ImageView wishPic = wish.findViewById(R.id.wish_pic); ImageView wishPic = wish.findViewById(R.id.wish_pic);
TextView wishIndex = wish.findViewById(R.id.wish_index); TextView wishIndex = wish.findViewById(R.id.wish_index);
wishPic.setImageResource(R.drawable.live_tags_hot); if(i==0) {
wishPic.setImageResource(R.drawable.live_tags_hot);
}else{
wishPic.setImageResource(R.drawable.live_tags_hour_list);
}
wishPic.setLayoutParams(params); wishPic.setLayoutParams(params);
wishIndex.setText(new Random().nextInt(5000)+""); wishIndex.setText(new Random().nextInt(5000)+"");
flipper.addView(wish); flipper.addView(wish);

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -278,10 +278,10 @@
android:inAnimation="@anim/anim_marquee_in" android:inAnimation="@anim/anim_marquee_in"
android:outAnimation="@anim/anim_marquee_out"/> android:outAnimation="@anim/anim_marquee_out"/>
<ImageView <ImageView
android:layout_width="14dp" android:layout_width="4dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_height="14dp" android:layout_height="8dp"
android:src="@drawable/live_icon_right_more" /> android:src="@drawable/live_icon_right_more" />