diff --git a/common/src/main/res/layout/activity_user_home.xml b/common/src/main/res/layout/activity_user_home.xml index 27c6f6344..4004f148f 100644 --- a/common/src/main/res/layout/activity_user_home.xml +++ b/common/src/main/res/layout/activity_user_home.xml @@ -800,7 +800,8 @@ android:id="@+id/setting" android:layout_width="30dp" android:layout_height="30dp" - android:src="@mipmap/icon_right_gray" /> + android:src="@mipmap/icon_right_gray" + android:visibility="invisible" /> diff --git a/main/src/main/java/com/yunbao/main/activity/UserHomeActivity.java b/main/src/main/java/com/yunbao/main/activity/UserHomeActivity.java index 56d26b854..d66be944e 100644 --- a/main/src/main/java/com/yunbao/main/activity/UserHomeActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/UserHomeActivity.java @@ -249,6 +249,7 @@ public class UserHomeActivity extends AbsActivity { likeCount.setText(String.valueOf(userInfo.getUserHomeTopInfo().getUser_love_num()));//关注数量 if (isMe) { + findViewById(R.id.setting).setVisibility(View.VISIBLE); bottomEditLayout.setVisibility(View.VISIBLE); imgUp.setVisibility(View.VISIBLE); imgLabel.setVisibility(View.VISIBLE);