主播创建游戏的加入的UI进行调整
This commit is contained in:
parent
fd8e805f78
commit
76e9748eeb
@ -930,7 +930,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
|
||||
private TextView sud_text_name;
|
||||
private RelativeLayout sud_layout_name;
|
||||
private View sud_layout_name;
|
||||
private TextView sud_join;
|
||||
private ImageView iconSudClose;
|
||||
private Handler sudNameHandler = new Handler();
|
||||
@ -945,7 +945,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
|
||||
public void setSudName(String sudName, SudGameDateModel sudGameDateModel) {
|
||||
sud_text_name = (TextView) findViewById(R.id.sud_text_name);
|
||||
sud_layout_name = (RelativeLayout) findViewById(R.id.sud_layout_name);
|
||||
sud_layout_name = findViewById(R.id.sud_layout_name);
|
||||
iconSudClose = (ImageView) findViewById(R.id.iconSudClose);
|
||||
//sud_layout_name.setVisibility(View.VISIBLE);
|
||||
ViewClicksAntiShake.clicksAntiShake(sud_layout_name, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||
@ -993,7 +993,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
new Handler().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
sud_text_name.setText(WordUtil.isNewZh() ? String.format("主播创建了【%s】房间,快来与主播同玩~", sudName) : String.format("The anchor created a 【%s】 room", sudName));
|
||||
//,快来与主播同玩~
|
||||
sud_text_name.setText(WordUtil.isNewZh() ? String.format("主播创建了【%s】房间", sudName) : String.format("The anchor created a 【%s】 room", sudName));
|
||||
sud_layout_name.setVisibility(View.VISIBLE);
|
||||
mLiveGiftAnimPresenter = new LiveGiftAnimPresenter(mContext, mContentView, mGifImageView, mSVGAImageView, mLiveGiftPrizePoolContainer, windowManager);
|
||||
mLiveGiftAnimPresenter.startGiftTipAnimatormSud();
|
||||
|
@ -3122,36 +3122,35 @@
|
||||
<!--游戏消息-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/sud_layout_name"
|
||||
android:layout_width="200dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginStart="13dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:background="@drawable/background_live_sud_hint"
|
||||
android:paddingStart="5dp"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/sud_game_coin"
|
||||
android:layout_width="22dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:src="@mipmap/live_room_sud_hint_icon" />
|
||||
|
||||
<com.yunbao.common.views.weight.MarqueeTextView
|
||||
android:id="@+id/sud_text_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_toStartOf="@+id/sud_join"
|
||||
android:layout_toEndOf="@+id/sud_game_coin"
|
||||
android:ellipsize="marquee"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
tools:text="主播創建了【游戲名】房間,快來與主播同玩~"
|
||||
tools:text="主播創建了【游戲名】房間"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12dp" />
|
||||
|
||||
@ -3159,10 +3158,10 @@
|
||||
android:id="@+id/sud_join"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="18dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_toEndOf="@+id/sud_text_name"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:layout_marginEnd="14dp"
|
||||
android:background="@drawable/bg_live_room_sud_hint_join"
|
||||
android:ellipsize="end"
|
||||
android:fontFamily="sans-serif-condensed-medium"
|
||||
@ -3178,11 +3177,12 @@
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:id="@+id/iconSudClose"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_toEndOf="@+id/sud_join"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:src="@mipmap/icon_live_room_sud_close" />
|
||||
|
Loading…
Reference in New Issue
Block a user