直播间push消息翻译

This commit is contained in:
Martin 2024-08-26 18:29:55 +08:00
parent e1f59b9223
commit faa9adf69a
12 changed files with 146 additions and 100 deletions

View File

@ -27,6 +27,7 @@ public abstract class AbsDialogFragment extends DialogFragment {
protected Context mContext;
protected View mRootView;
protected Dialog dialog;
@NonNull
@Override
@ -37,7 +38,7 @@ public abstract class AbsDialogFragment extends DialogFragment {
} else {
mRootView = LayoutInflater.from(mContext).inflate(getLayoutId(), null);
}
Dialog dialog = new Dialog(mContext, getDialogStyle());
dialog = new Dialog(mContext, getDialogStyle());
dialog.setContentView(mRootView);
dialog.setCancelable(canCancel());
dialog.setCanceledOnTouchOutside(canCancel());

View File

@ -78,4 +78,6 @@
<color name="gray_f6f7fb">#F6F7FB</color>
<color name="gray_F4F4F4">#F4F4F4</color>
<color name="chat_event_entrance">#FFFFBD59</color>
</resources>

View File

@ -242,8 +242,6 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
SVGAImageView avatar_gift_svga;
RelativeLayout avatarLayout;
TextView event_entrance;
public Vh(View itemView) {
super(itemView);
mBg = (LinearLayout) itemView.findViewById(R.id.bg);
@ -277,8 +275,6 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
msg_avatar = itemView.findViewById(R.id.msg_avatar);
avatar_gift_svga = itemView.findViewById(R.id.avatar_gift_svga);
avatarLayout = itemView.findViewById(R.id.avatarLayout);
event_entrance = itemView.findViewById(R.id.event_entrance);
}
void setData(final LiveChatBean bean, int position) {
@ -574,11 +570,21 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
mTextView.setText(Html.fromHtml(stringBuffer.toString()));
new LoadDian9TuUtil().loadDian9TuAssets(mContext, mBg, 1);
} else if(bean.getType() == TYPE_TO_TASK_INLET){
StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("<font color='#ffffff'>" + (WordUtil.isNewZh() ? "發送彈幕與主播進行互動吧!完成弹幕互动和点赞任務,还可以领取超多新人豪華禮物哦" : "Send bullet screens to interact with the anchor! Complete the bullet screen interaction and like tasks, and you can also receive many new luxury gifts!") + "</font>");
stringBuffer.append("<font color='#FFFFBD59'>" + (WordUtil.isNewZh() ? "活動入口" : "Event Entrance") + "</font>");
mTextView.setText(Html.fromHtml(stringBuffer.toString()));
event_entrance.setVisibility(View.VISIBLE);
String str = "發送彈幕與主播進行互動吧!參與新人觀播活动,完成任務領取超多新人豪華禮物!";
String str_en = "Send bullet comments and interact with the streamer! Join the newbie event, complete tasks, and get luxurious gifts!";
if(WordUtil.isNewZh()){
SpannableString spannableString = new SpannableString(str);
int start = str.indexOf("新人觀播活动");
int end = start + "新人觀播活动".length();
spannableString.setSpan(new ForegroundColorSpan(mContext.getColor(R.color.chat_event_entrance)), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
mTextView.setText(spannableString);
}else{
SpannableString spannableString = new SpannableString(str_en);
int start = str_en.indexOf("newbie event");
int end = start + "newbie event".length();
spannableString.setSpan(new ForegroundColorSpan(mContext.getColor(R.color.chat_event_entrance)), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
mTextView.setText(spannableString);
}
new LoadDian9TuUtil().loadDian9TuAssets(mContext, mBg, 1);
}else if(bean.getType() == TYPE_TO_TASK_INLET1){
String str = "您有一份獎勵可領取,點擊此處前往領取禮物吧!";
@ -589,6 +595,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
int end = start + "點擊此處".length();
float size = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 14, mContext.getResources().getDisplayMetrics());
spannableString.setSpan(new AbsoluteSizeSpan((int) size), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
spannableString.setSpan(new ForegroundColorSpan(mContext.getColor(R.color.chat_event_entrance)), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
mTextView.setText(spannableString);
}else{
SpannableString spannableString = new SpannableString(str_en);
@ -596,6 +603,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
int end = start + "click here".length();
float size = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 14, mContext.getResources().getDisplayMetrics());
spannableString.setSpan(new AbsoluteSizeSpan((int) size), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
spannableString.setSpan(new ForegroundColorSpan(mContext.getColor(R.color.chat_event_entrance)), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
mTextView.setText(spannableString);
}
new LoadDian9TuUtil().loadDian9TuAssets(mContext, mBg, 1);

View File

@ -70,7 +70,6 @@ public class LiveHDDialogFragment extends AbsDialogFragment {
private TextView htmlError;
private boolean isSetHeight = false;
OnDisListener onDisListener;
Dialog dialog;
public LiveHDDialogFragment() {
@ -78,6 +77,14 @@ public class LiveHDDialogFragment extends AbsDialogFragment {
public void setOnDisListener(OnDisListener onDisListener) {
this.onDisListener = onDisListener;
if(dialog!=null){
dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
onDisListener.onDis();
}
});
}
}
/**
@ -244,18 +251,8 @@ public class LiveHDDialogFragment extends AbsDialogFragment {
});
}
}
dialog = getDialog();
dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
if(onDisListener!=null){
onDisListener.onDis();
}
}
});
}
private void gotoLive(final String live_id) {
if (!TextUtils.equals(roomId, live_id)) {
LiveHttpUtil.getLiveInfo(live_id, new HttpCallback() {

View File

@ -486,12 +486,14 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
private TextView new_task_send_gift_details;
private ImageView close_task_send_gift_close;
private ImageView newPersonTask;
public LiveRoomViewHolder setGuardType(int guardType) {
this.guardType = guardType;
return this;
}
public void setComAll(boolean isComAll){
public void setComAll(boolean isComAll) {
this.isComAll = isComAll;
}
@ -957,7 +959,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
if (notify_follow_layout != null) {
animatorFollowFirstLook(false);
firstFollowLookHandler.removeCallbacks(firstFollowLookRunnable);
if(!nothingCheck || !isComAll){//没有任何操作
if (!nothingCheck || !isComAll) {//没有任何操作
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
@ -1023,7 +1025,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public void run() {
notify_follow_layout.setVisibility(View.GONE);
}
},1000);
}, 1000);
}
animator_follow_first_look.setInterpolator(new LinearInterpolator());
animator_follow_first_look.start();
@ -1083,7 +1085,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public void run() {
new_task_gift_notify.setVisibility(View.GONE);
}
},1000);
}, 1000);
}
animator_first_task_details.setInterpolator(new LinearInterpolator());
animator_first_task_details.start();
@ -1143,7 +1145,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public void run() {
new_task_gift_notify1.setVisibility(View.GONE);
}
},1000);
}, 1000);
}
animator_first_task_details1.setInterpolator(new LinearInterpolator());
animator_first_task_details1.start();
@ -1175,7 +1177,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
@Override
public void onClick(View v) {
//跳转到免费礼物
((LiveAudienceActivity) mContext).openGiftWindow("", "1");
((LiveAudienceActivity) mContext).openGiftWindow();
animatorSendGiftTask(false);
sendGiftTaskHandler.removeCallbacks(sendGiftTaskRunnable);
}
@ -1206,7 +1208,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public void run() {
new_task_send_gift_notify.setVisibility(View.GONE);
}
},1000);
}, 1000);
}
animator_send_gift_task.setInterpolator(new LinearInterpolator());
animator_send_gift_task.start();
@ -1214,18 +1216,18 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public boolean isShowH5Dialog;
public void showH5Dialog(){
public void showH5Dialog() {
Bundle bundle = new Bundle();
bundle.putString("url", CommonAppConfig.HOST+"/h5/activity/pdlNewUes/index.html?1=1");
bundle.putString("url", CommonAppConfig.HOST + "/h5/activity/pdlNewUes/index.html?1=1");
LiveHDDialogFragment fragment = new LiveHDDialogFragment();
fragment.setArguments(bundle);
fragment.show(((LiveActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
fragment.setOnDisListener(new LiveHDDialogFragment.OnDisListener() {
@Override
public void onDis() {
startTaskInletTime();
}
});
fragment.setArguments(bundle);
fragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
}
//向chatList发送一条活动入口消息
@ -1239,7 +1241,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
}
}, 1000);
if (mLiveRoomHandler != null) {
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_TASK_INLET_LIVE, getNextTime(1000*300));
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_TASK_INLET_LIVE, getNextTime(1000 * 300));
}
}
@ -1256,8 +1258,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
}
public void startTaskInletTime(){
if(!isShowH5Dialog){
public void startTaskInletTime() {
if (!isShowH5Dialog) {
firstTaskInletNotify();
}
isShowH5Dialog = true;
@ -1927,11 +1929,13 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
} else if (mContext instanceof LiveSwAnchorActivity) {
com.yunbao.live.activity.LiveSwAnchorActivity.mLiveAnchorViewHolder.closeMenuRed();
}
}else if(bean.getType() == TYPE_TO_TASK_INLET||bean.getType() == TYPE_TO_TASK_INLET1){
} else if (bean.getType() == TYPE_TO_TASK_INLET || bean.getType() == TYPE_TO_TASK_INLET1) {
L.e("TYPE_TO_TASK_INLET1=" + bean.getType());
showH5Dialog();
} else {
showUserDialog(bean.getId());
}
L.e("onItemClickonItemClickonItemClick=" + bean.getType());
}
});
@ -2292,9 +2296,17 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
new_task_gift_details1 = findViewById(R.id.new_task_gift_details1);
close_task_receive_close1 = findViewById(R.id.close_task_receive_close1);
new_task_send_gift_notify= findViewById(R.id.new_task_send_gift_notify);
new_task_send_gift_details= findViewById(R.id.new_task_send_gift_details);
close_task_send_gift_close= findViewById(R.id.close_task_send_gift_close);
new_task_send_gift_notify = findViewById(R.id.new_task_send_gift_notify);
new_task_send_gift_details = findViewById(R.id.new_task_send_gift_details);
close_task_send_gift_close = findViewById(R.id.close_task_send_gift_close);
newPersonTask = findViewById(R.id.newPersonTask);
newPersonTask.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
showH5Dialog();
}
});
}
/**
@ -4981,29 +4993,37 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
*/
public void firstLook5MinLiveNotify() {
if (mLiveRoomHandler != null) {
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_LOOK_5_MIN_LIVE, getNextTime(1000*5));
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_LOOK_5_MIN_LIVE, getNextTime(1000 *60* 5));
}
}
/**
* 打開活動彈窗
* 打開活動彈窗 关闭5min后
*/
public void firstTaskInletNotify() {
if (mLiveRoomHandler != null) {
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_TASK_INLET_LIVE, getNextTime(1000*5));
//取消观看200秒后的定时器-产品需求只需要存在一个逻辑
mLiveRoomHandler.removeMessages(LiveRoomHandler.WHAT_TASK_INLET_LIVE);
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_TASK_INLET_LIVE, getNextTime(1000 * 5));
}
}
/**
* 打開活動彈窗观看200秒之后
* 观看200秒之后
*/
public void firstTaskInlet1Notify() {
if (mLiveRoomHandler != null) {
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_TASK_INLET_LIVE, getNextTime(1000*200));
mLiveRoomHandler.sendEmptyMessageAtTime(LiveRoomHandler.WHAT_TASK_INLET_LIVE, getNextTime(1000 * 200));
}
}
/**
* 新人观播礼-判断是否是新用户
*/
public void setNewPersonTask() {
newPersonTask.setVisibility(View.VISIBLE);
}
private long getNextTime(int time) {
long now = SystemClock.uptimeMillis();
if (time < 1000) {

View File

@ -916,6 +916,10 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
}
//观看200秒之后推送活动入口im消息
mLiveRoomViewHolder.firstTaskInlet1Notify();
//新人观播礼-判断是否是新用户
if(data.getEnterRoomInfo().getIsNewUser().equals("1")){
mLiveRoomViewHolder.setNewPersonTask();
}
}
@Override

View File

@ -62,19 +62,6 @@
tools:ignore="RtlHardcoded"
tools:text="aaaaaaaaa111111111111111111111111111111111111111111111111111111111" />
<TextView
android:id="@+id/event_entrance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end|center_vertical"
android:layout_marginEnd="11dp"
android:gravity="top"
android:text="@string/entrance_event"
android:textColor="#FFFFBD59"
tools:visibility="visible"
android:visibility="gone"
android:textSize="12dp" />
<LinearLayout
android:id="@+id/view_follow"
android:layout_width="96dp"

View File

@ -2755,6 +2755,17 @@
android:layout_marginBottom="5dp"
android:visibility="gone" />
<ImageView
android:id="@+id/newPersonTask"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_gravity="end"
tools:visibility="visible"
android:layout_marginEnd="16dp"
android:visibility="gone"
android:layout_marginBottom="5dp"
android:src="@mipmap/live_room_new_task_gift" />
<ImageView
android:id="@+id/prank_group_turntable_icon"
android:layout_width="44dp"
@ -3017,16 +3028,16 @@
<!--新用户观播活动-->
<LinearLayout
android:layout_width="wrap_content"
android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content">
android:orientation="vertical">
<!--送免費禮物-->
<RelativeLayout
android:layout_marginTop="5dp"
android:id="@+id/new_task_send_gift_notify"
android:layout_width="280dp"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:background="@mipmap/background_live_notify_gift"
android:paddingStart="5dp"
android:visibility="gone"
@ -3034,25 +3045,26 @@
<TextView
android:id="@+id/new_task_send_gift_content"
android:layout_marginTop="8dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="15dp"
android:text="看了這麼久送ta一份免費禮物吧 ~ 完成首次送禮任務還可以領取精美獎品!"
android:text="@string/live_room_push_look_5min"
android:textColor="#FF444444"
android:textSize="12dp" />
<TextView
android:id="@+id/new_task_send_gift_details"
android:layout_width="wrap_content"
android:layout_marginEnd="15dp"
android:layout_height="18dp"
android:ellipsize="end"
android:layout_alignParentEnd="true"
android:layout_below="@+id/new_task_send_gift_content"
android:layout_alignParentEnd="true"
android:layout_marginEnd="15dp"
android:fontFamily="sans-serif-condensed-medium"
android:ellipsize="end"
android:singleLine="true"
android:text="查看禮物"
android:text="@string/live_room_push_view_gift"
android:textColor="#FF2B5AB8"
android:textSize="12sp"
android:visibility="visible"
@ -3072,10 +3084,10 @@
<!--可領取獎勵-->
<RelativeLayout
android:layout_marginTop="5dp"
android:id="@+id/new_task_gift_notify1"
android:layout_width="250dp"
android:layout_height="46dp"
android:layout_marginTop="5dp"
android:background="@mipmap/background_live_notify_gift"
android:paddingStart="5dp"
android:visibility="gone"
@ -3085,22 +3097,22 @@
android:id="@+id/notify_gift_receive_icon1"
android:layout_width="26dp"
android:layout_height="26dp"
android:layout_marginStart="7dp"
android:layout_centerVertical="true"
android:layout_marginStart="7dp"
android:layout_marginTop="2dp"
android:src="@mipmap/icon_live_notify_gift" />
<com.yunbao.common.views.weight.MarqueeTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@+id/notify_gift_receive_icon1"
android:layout_centerVertical="true"
android:layout_marginStart="5dp"
android:layout_marginEnd="50dp"
android:layout_toEndOf="@+id/notify_gift_receive_icon1"
android:ellipsize="marquee"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="您有一份獎勵可領取,速速前往!"
android:text="@string/live_room_push_you_gift"
android:textColor="#FF444444"
android:textSize="12dp" />
@ -3115,9 +3127,9 @@
android:fontFamily="sans-serif-condensed-medium"
android:gravity="center"
android:maxWidth="50dp"
android:text="點擊\n前往"
android:text="@string/live_room_push_to_new_task"
android:textColor="#FF2B5AB8"
android:textSize="10sp"
android:textSize="12sp"
android:visibility="visible"
tools:visibility="visible" />
@ -3135,10 +3147,10 @@
<!--完成任務-->
<RelativeLayout
android:layout_marginTop="5dp"
android:id="@+id/new_task_gift_notify"
android:layout_width="250dp"
android:layout_height="46dp"
android:layout_marginTop="5dp"
android:background="@mipmap/background_live_notify_gift"
android:paddingStart="5dp"
android:visibility="gone"
@ -3148,22 +3160,22 @@
android:id="@+id/notify_gift_receive_icon"
android:layout_width="26dp"
android:layout_height="26dp"
android:layout_marginStart="7dp"
android:layout_centerVertical="true"
android:layout_marginStart="7dp"
android:layout_marginTop="2dp"
android:src="@mipmap/icon_live_notify_gift" />
<com.yunbao.common.views.weight.MarqueeTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@+id/notify_gift_receive_icon"
android:layout_centerVertical="true"
android:layout_marginStart="5dp"
android:layout_marginEnd="50dp"
android:layout_toEndOf="@+id/notify_gift_receive_icon"
android:ellipsize="marquee"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="完成新人任務,可領多重專屬豪禮!"
android:text="@string/live_room_push_new_person_task"
android:textColor="#FF444444"
android:textSize="12dp" />
@ -3179,10 +3191,8 @@
android:fontFamily="sans-serif-condensed-medium"
android:gravity="center"
android:maxWidth="50dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:singleLine="true"
android:text="详情"
android:text="@string/live_room_push_details"
android:textColor="#FF2B5AB8"
android:textSize="12sp"
android:visibility="visible"
@ -3202,27 +3212,27 @@
<!--關注主播-->
<RelativeLayout
android:id="@+id/notify_follow_layout"
android:layout_width="250dp"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_marginTop="5dp"
android:id="@+id/notify_follow_layout"
android:layout_width="200dp"
android:layout_height="50dp"
android:visibility="gone"
tools:visibility="visible">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="41dp"
android:layout_marginTop="5dp"
android:background="@mipmap/bg_live_room_notify_follow"
android:layout_width="match_parent"
android:paddingStart="10dp"
android:layout_height="41dp">
android:paddingStart="10dp">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:scaleType="centerCrop"
android:layout_marginTop="2dp"
android:scaleType="centerCrop"
android:src="@mipmap/icon_live_room_follow_avatar" />
<com.makeramen.roundedimageview.RoundedImageView
@ -3230,37 +3240,39 @@
android:layout_width="29dp"
android:layout_height="29dp"
android:layout_centerVertical="true"
android:scaleType="centerCrop"
android:layout_marginStart="0.5dp"
app:riv_oval="true"
android:layout_marginTop="2dp"
android:src="@mipmap/icon_live_room_follow_avatar" />
android:scaleType="centerCrop"
android:src="@mipmap/icon_live_room_follow_avatar"
app:riv_oval="true" />
<TextView
android:id="@+id/notify_follow_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="35dp"
android:layout_marginTop="2dp"
android:layout_marginEnd="20dp"
android:text="主播名稱"
android:layout_marginTop="2dp"
android:textColor="@color/white"
android:textSize="14sp"
android:visibility="visible"
tools:visibility="visible" />
<TextView
android:layout_width="wrap_content"
<com.yunbao.common.views.weight.MarqueeTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="35dp"
android:layout_marginEnd="20dp"
android:layout_alignParentBottom="true"
android:text="喜歡主播就關注ta吧~"
android:layout_marginStart="35dp"
android:layout_marginEnd="65dp"
android:layout_toEndOf="@+id/notify_gift_receive_icon"
android:ellipsize="marquee"
android:scrollHorizontally="true"
android:layout_marginBottom="5dp"
android:singleLine="true"
android:text="@string/live_room_push_like_an"
android:textColor="@color/white"
android:textSize="10sp"
android:visibility="visible"
tools:visibility="visible" />
android:textSize="10sp" />
<ImageView
android:id="@+id/follow_first_look"
@ -3283,12 +3295,12 @@
<!--游戏消息-->
<RelativeLayout
android:layout_alignParentBottom="true"
android:layout_marginTop="5dp"
android:id="@+id/sud_layout_name"
android:layout_width="200dp"
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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -166,5 +166,13 @@
<string name="live_room_wishlist">心願</string>
<string name="live_room_new_task">新手任務</string>
<string name="entrance_event">活動入口</string>
<string name="live_room_push_to_new_task">點擊\n前往</string>
<string name="live_room_push_you_gift">您有一份獎勵可領取,速速前往!</string>
<string name="live_room_push_look_5min">看了這麼久送ta一份免費禮物吧 ~ 完成首次送禮任務還可以領取精美獎品!</string>
<string name="live_room_push_view_gift">查看禮物</string>
<string name="live_room_push_new_person_task">完成新人任務,可領多重專屬豪禮!</string>
<string name="live_room_push_details">詳情</string>
<string name="live_room_push_like_an">喜歡主播就關注ta吧~</string>
</resources>

View File

@ -169,4 +169,11 @@
<string name="live_room_wishlist">Wishlist</string>
<string name="live_room_new_task">Newb job</string>
<string name="entrance_event">Event entrance</string>
<string name="live_room_push_to_new_task">Click \nto go</string>
<string name="live_room_push_you_gift">You have a viewing reward to claim, go there quickly!</string>
<string name="live_room_push_look_5min">After watching for so long, give her a free gift~ You can also receive exquisite gifts by completing the gift-giving task!</string>
<string name="live_room_push_view_gift">View Gifts</string>
<string name="live_room_push_new_person_task">Complete the newcomer tasks and receive multiple gifts</string>
<string name="live_room_push_details">Details</string>
<string name="live_room_push_like_an">If you like this anchor, please subscribe to him.</string>
</resources>