Merge remote-tracking branch 'origin/dev_改版主分支-升级融云SDK&AGP8' into dev_改版主分支-升级融云SDK&AGP8
This commit is contained in:
@@ -161,7 +161,7 @@ public class CommentAdapter extends RecyclerView.Adapter {
|
||||
del.setVisibility(View.GONE);
|
||||
}
|
||||
if (bean.getReplyCommentList() != null) {
|
||||
replyCount.setText("共" + bean.getReplyCommentList().size() + "条回复>");
|
||||
replyCount.setText(String.format(mContext.getResources().getString(R.string.active_count), String.valueOf(bean.getReplyCommentList().size())));
|
||||
if (bean.getReplyCommentList().size() > 0) {
|
||||
report1.setTag(bean.getReplyCommentList().get(0));
|
||||
del1.setTag(bean.getReplyCommentList().get(0));
|
||||
@@ -214,10 +214,11 @@ public class CommentAdapter extends RecyclerView.Adapter {
|
||||
public void onClick(View v) {
|
||||
if (!bean.isShow()) {
|
||||
recyclerView.setVisibility(View.VISIBLE);
|
||||
replyCount.setText("收起");
|
||||
replyCount.setText(mContext.getResources().getString(R.string.close));
|
||||
} else {
|
||||
recyclerView.setVisibility(View.GONE);
|
||||
replyCount.setText("共" + bean.getReplyCommentList().size() + "条回复>");
|
||||
replyCount.setText(String.format(mContext.getResources().getString(R.string.active_count), String.valueOf(bean.getReplyCommentList().size())))
|
||||
;
|
||||
}
|
||||
bean.setShow(!bean.isShow());
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ public class CommentVideoAdapter extends RefreshAdapter<CommentBean> {
|
||||
del.setVisibility(View.GONE);
|
||||
}
|
||||
if (bean.getReplyCommentList() != null) {
|
||||
replyCount.setText("共" + bean.getReplyCommentList().size() + "条回复>");
|
||||
replyCount.setText( String.format(mContext.getResources().getString(R.string.active_count), String.valueOf(bean.getReplyCommentList().size())));
|
||||
if (bean.getReplyCommentList().size() > 0) {
|
||||
del1.setTag(bean.getReplyCommentList().get(0));
|
||||
replyContent.setText(bean.getReplyCommentList().get(0).getContent());
|
||||
@@ -214,10 +214,10 @@ public class CommentVideoAdapter extends RefreshAdapter<CommentBean> {
|
||||
public void onClick(View v) {
|
||||
if (!bean.isShow()) {
|
||||
recyclerView.setVisibility(View.VISIBLE);
|
||||
replyCount.setText("收起");
|
||||
replyCount.setText(mContext.getResources().getString(R.string.close));
|
||||
} else {
|
||||
recyclerView.setVisibility(View.GONE);
|
||||
replyCount.setText("共" + bean.getReplyCommentList().size() + "条回复>");
|
||||
replyCount.setText( String.format(mContext.getResources().getString(R.string.active_count), String.valueOf(bean.getReplyCommentList().size())));
|
||||
}
|
||||
bean.setShow(!bean.isShow());
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/followLayout"
|
||||
android:layout_width="78dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="36dp"
|
||||
android:background="@drawable/bg_main_com_type"
|
||||
android:gravity="center"
|
||||
@@ -91,6 +91,7 @@
|
||||
android:id="@+id/followIcon"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:src="@mipmap/icon_like_follow" />
|
||||
|
||||
<TextView
|
||||
@@ -98,6 +99,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="@string/follow"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14dp"
|
||||
@@ -188,7 +190,7 @@
|
||||
android:id="@+id/replyCount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="评论0"
|
||||
android:text="0"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16dp"
|
||||
android:textStyle="bold" />
|
||||
@@ -255,7 +257,7 @@
|
||||
android:layout_height="40dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="说点什么..."
|
||||
android:hint="@string/video_say_something"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:textSize="14dp" />
|
||||
|
||||
@@ -183,7 +183,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_weight="1"
|
||||
android:text="立即发表"
|
||||
android:text=""
|
||||
android:textColor="#333333"
|
||||
android:textSize="12dp"
|
||||
android:visibility="invisible" />
|
||||
|
||||
@@ -801,7 +801,7 @@
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@mipmap/icon_right_gray"
|
||||
android:visibility="invisible" />
|
||||
android:visibility="visible" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
android:gravity="center"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="作者"
|
||||
android:text="@string/active_author"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12dp"
|
||||
android:visibility="gone" />
|
||||
@@ -61,7 +61,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:text="删除"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#777777"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -72,7 +72,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="5dp"
|
||||
android:padding="10dp"
|
||||
android:text="举报"
|
||||
android:text="@string/report"
|
||||
android:textColor="#333333"
|
||||
android:textSize="11dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
android:gravity="center"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="作者"
|
||||
android:text="@string/active_author"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="10dp"
|
||||
android:visibility="gone" />
|
||||
@@ -75,7 +75,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:padding="10dp"
|
||||
android:text="删除"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#777777"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -97,7 +97,7 @@
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:padding="10dp"
|
||||
android:text="举报"
|
||||
android:text="@string/report"
|
||||
android:textColor="#333333"
|
||||
android:textSize="11dp"
|
||||
android:textStyle="bold" />
|
||||
@@ -148,7 +148,7 @@
|
||||
android:gravity="center"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="作者"
|
||||
android:text="@string/active_author"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -163,7 +163,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:text="删除"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#777777"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -174,7 +174,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="5dp"
|
||||
android:padding="10dp"
|
||||
android:text="举报"
|
||||
android:text="@string/report"
|
||||
android:textColor="#333333"
|
||||
android:textSize="11dp"
|
||||
android:textStyle="bold" />
|
||||
@@ -203,7 +203,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="共4条回复>"
|
||||
android:text="@string/active_count"
|
||||
android:textColor="#FF4874"
|
||||
android:textSize="12dp"
|
||||
android:textStyle="bold"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
android:gravity="center"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="作者"
|
||||
android:text="@string/active_author"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="10dp"
|
||||
android:visibility="gone" />
|
||||
@@ -72,7 +72,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:padding="10dp"
|
||||
android:text="删除"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#777777"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -145,7 +145,7 @@
|
||||
android:gravity="center"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="作者"
|
||||
android:text="@string/active_author"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -160,7 +160,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:text="删除"
|
||||
android:text="@string/delete"
|
||||
android:textColor="#777777"
|
||||
android:textSize="11dp"
|
||||
android:visibility="gone" />
|
||||
@@ -200,7 +200,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="30dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="共4条回复>"
|
||||
android:text="@string/active_count"
|
||||
android:textColor="#FF4874"
|
||||
android:textSize="12dp"
|
||||
android:textStyle="bold"
|
||||
|
||||
@@ -30,4 +30,9 @@
|
||||
<string name="time_cannot_be_greater_than_the_current_time">Time cannot be greater than the current time</string>
|
||||
<string name="msg_del_sure">Do you confirm deletion?</string>
|
||||
<string name="not_blackmail">Cannot blackmail oneself</string>
|
||||
<string name="active_author">author</string>
|
||||
<string name="active_count">altogether %1$s strip reply></string>
|
||||
<string name="uploading">Uploading...</string>
|
||||
<string name="upload_fail">Upload failed</string>
|
||||
<string name="please_input_content">Please fill in the publication content</string>
|
||||
</resources>
|
||||
@@ -1474,7 +1474,7 @@
|
||||
<string name="upload_failed">删除成功</string>
|
||||
<string name="_9">最多添加9張圖片</string>
|
||||
<string name="not_interested">不感興趣</string>
|
||||
<string name="person_like">人觉得很赞</string>
|
||||
<string name="person_like">人覺得很讚</string>
|
||||
<string name="fan_group_name">主播守護團</string>
|
||||
<string name="user_home_anchor">主播粉絲團</string>
|
||||
<string name="main_active_type_01">美圖</string>
|
||||
@@ -1495,4 +1495,9 @@
|
||||
<string name="time_cannot_be_greater_than_the_current_time">时间不能大于当前时间</string>
|
||||
<string name="msg_del_sure">是否確認刪除?</string>
|
||||
<string name="not_blackmail">不能拉黑自己</string>
|
||||
<string name="active_author">作者</string>
|
||||
<string name="active_count">共%1$s條回復></string>
|
||||
<string name="uploading">上傳中...</string>
|
||||
<string name="upload_fail">上傳失敗</string>
|
||||
<string name="please_input_content">請填寫發佈內容</string>
|
||||
</resources>
|
||||
|
||||
@@ -1474,7 +1474,7 @@
|
||||
<string name="upload_failed">删除成功</string>
|
||||
<string name="_9">最多添加9張圖片</string>
|
||||
<string name="not_interested">不感興趣</string>
|
||||
<string name="person_like">人觉得很赞</string>
|
||||
<string name="person_like">人覺得很讚</string>
|
||||
<string name="fan_group_name">主播守護團</string>
|
||||
<string name="user_home_anchor">主播粉絲團</string>
|
||||
<string name="main_active_type_01">美圖</string>
|
||||
@@ -1495,4 +1495,9 @@
|
||||
<string name="time_cannot_be_greater_than_the_current_time">时间不能大于当前时间</string>
|
||||
<string name="msg_del_sure">是否確認刪除?</string>
|
||||
<string name="not_blackmail">不能拉黑自己</string>
|
||||
<string name="active_author">作者</string>
|
||||
<string name="active_count">共%1$s條回復></string>
|
||||
<string name="uploading">上傳中...</string>
|
||||
<string name="upload_fail">上傳失敗</string>
|
||||
<string name="please_input_content">請填寫發佈內容</string>
|
||||
</resources>
|
||||
|
||||
@@ -1472,7 +1472,7 @@
|
||||
<string name="upload_failed">删除成功</string>
|
||||
<string name="_9">最多添加9張圖片</string>
|
||||
<string name="not_interested">不感興趣</string>
|
||||
<string name="person_like">人觉得很赞</string>
|
||||
<string name="person_like">人覺得很讚</string>
|
||||
<string name="fan_group_name">主播守護團</string>
|
||||
<string name="user_home_anchor">主播粉絲團</string>
|
||||
<string name="main_active_type_01">美圖</string>
|
||||
@@ -1493,4 +1493,9 @@
|
||||
<string name="time_cannot_be_greater_than_the_current_time">时间不能大于当前时间</string>
|
||||
<string name="msg_del_sure">是否確認刪除?</string>
|
||||
<string name="not_blackmail">不能拉黑自己</string>
|
||||
<string name="active_author">作者</string>
|
||||
<string name="active_count">共%1$s條回復></string>
|
||||
<string name="uploading">上傳中...</string>
|
||||
<string name="upload_fail">上傳失敗</string>
|
||||
<string name="please_input_content">請填寫發佈內容</string>
|
||||
</resources>
|
||||
|
||||
@@ -557,7 +557,7 @@
|
||||
<string name="video_download_success">Video download successful</string>
|
||||
<string name="video_download_failed">Video download failed</string>
|
||||
<string name="video_no_more_video">No more videos</string>
|
||||
<string name="video_comment">comment</string>
|
||||
<string name="video_comment">Comment</string>
|
||||
<string name="video_comment_cannot_self">I can\'t give myself a compliment</string>
|
||||
<string name="video_no_comment">No comment for the moment. Grab the sofa</string>
|
||||
<string name="video_comment_reply">Reply</string>
|
||||
@@ -1494,7 +1494,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="upload_failed">删除成功</string>
|
||||
<string name="_9">最多添加9張圖片</string>
|
||||
<string name="not_interested">不感興趣</string>
|
||||
<string name="person_like">人觉得很赞</string>
|
||||
<string name="person_like">人覺得很讚</string>
|
||||
<string name="fan_group_name">主播守護團</string>
|
||||
<string name="user_home_anchor">主播粉絲團</string>
|
||||
<string name="main_active_type_01">美圖</string>
|
||||
@@ -1515,6 +1515,10 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="time_cannot_be_greater_than_the_current_time">时间不能大于当前时间</string>
|
||||
<string name="msg_del_sure">是否確認刪除?</string>
|
||||
<string name="not_blackmail">不能拉黑自己</string>
|
||||
|
||||
<string name="active_author">作者</string>
|
||||
<string name="active_count">共%1$s條回復></string>
|
||||
<string name="uploading">上傳中...</string>
|
||||
<string name="upload_fail">上傳失敗</string>
|
||||
<string name="please_input_content">請填寫發佈內容</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user