1.PK倒计时是, 神龙倒计时 改成只有分钟秒格式
2.送礼物自定义数量下移
This commit is contained in:
@@ -1001,13 +1001,13 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
||||
String userNextLevel = String.valueOf(Integer.parseInt(coinModel.getUserLevel())+1);
|
||||
StringBuffer stringBuffer = new StringBuffer();
|
||||
if (IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
|
||||
stringBuffer.append("升至Lv")
|
||||
stringBuffer.append("升至Lv.")
|
||||
.append(userNextLevel)
|
||||
.append("還需")
|
||||
.append(leveNext)
|
||||
.append("經驗值");
|
||||
} else {
|
||||
stringBuffer.append("Up to Lv")
|
||||
stringBuffer.append("Up to Lv.")
|
||||
.append(userNextLevel)
|
||||
.append("need")
|
||||
.append(leveNext)
|
||||
|
||||
@@ -1454,7 +1454,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
if (mPkTimeCount > 0) {//
|
||||
if (mHandler != null) {
|
||||
time.setVisibility(View.VISIBLE);
|
||||
String s1 = StringUtil.getDurationText(mPkTimeCount * 1000);
|
||||
String s1 = StringUtil.getDurationText2(mPkTimeCount * 1000);
|
||||
time.setText("PK時間:" + s1);
|
||||
mHandler.sendEmptyMessageAtTime(WHAT_PK_TIME, getNextSecondTime());
|
||||
if (mContext instanceof LiveAudienceActivity) {
|
||||
@@ -4428,7 +4428,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
public void run() {
|
||||
sendMoneyTime--;
|
||||
if (sendMoneyTime > 0) {
|
||||
String s1 = StringUtil.getDurationText(sendMoneyTime * 1000);
|
||||
String s1 = StringUtil.getDurationText2(sendMoneyTime * 1000);
|
||||
newDragonTv.setText(s1);
|
||||
newDragonTv.postDelayed(sendMoneyRunnable, 1000);
|
||||
} else {
|
||||
@@ -6549,7 +6549,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
} else {
|
||||
timeTitle.setVisibility(View.VISIBLE);
|
||||
Log.e("多人Pk", "countdownRunnable mPkTimeCount:" + mPkTimeCount2);
|
||||
String s1 = StringUtil.getDurationText(mPkTimeCount2 * 1000);
|
||||
String s1 = StringUtil.getDurationText2(mPkTimeCount2 * 1000);
|
||||
textTime.setText(String.format(mContext.getString(R.string.pk_time), s1));
|
||||
Log.e("多人Pk", "countdownRunnable s1:" + s1);
|
||||
timeTitle.postDelayed(countdownRunnable, 1000);
|
||||
|
||||
Reference in New Issue
Block a user