diff --git a/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java b/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java index 853378b73..feddc6805 100644 --- a/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java +++ b/common/src/main/java/com/yunbao/common/adapter/CommentAdapter.java @@ -147,7 +147,6 @@ public class CommentAdapter extends RecyclerView.Adapter { del1.setTag(bean); report.setTag(bean); replyTextView.setTag(bean); - report1.setTag(bean); ImgLoader.display(itemView.getContext(), bean.getUser_avatar(), mAvatar); name.setText(bean.getUser_name()); content.setText(bean.getContent()); @@ -164,6 +163,7 @@ public class CommentAdapter extends RecyclerView.Adapter { if (bean.getReplyCommentList() != null) { replyCount.setText("共" + bean.getReplyCommentList().size() + "条回复>"); if (bean.getReplyCommentList().size() > 0) { + report1.setTag(bean.getReplyCommentList().get(0)); del1.setTag(bean.getReplyCommentList().get(0)); replyContent.setText(bean.getReplyCommentList().get(0).getContent()); ImgLoader.display(itemView.getContext(), bean.getReplyCommentList().get(0).getUser_avatar(), mAvatar01); diff --git a/common/src/main/res/layout/activity_community_details.xml b/common/src/main/res/layout/activity_community_details.xml index 9a0531d4c..f55bb38fa 100644 --- a/common/src/main/res/layout/activity_community_details.xml +++ b/common/src/main/res/layout/activity_community_details.xml @@ -28,12 +28,29 @@ android:gravity="center_vertical" android:orientation="horizontal"> - + android:layout_height="80dp"> + + + + + +