From 4f590a78a883c85284c8b7db337cc138885814b4 Mon Sep 17 00:00:00 2001 From: hch <16607480311@163.com> Date: Thu, 28 Mar 2024 13:40:28 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E4=BF=AE=E5=A4=8D-=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5-=E8=87=AA=E5=B7=B1=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E7=9A=84=E4=B8=89=E4=B8=AA=E7=82=B9=E8=A6=81?= =?UTF-8?q?=E5=8E=BB=E6=8E=89]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/res/layout/activity_user_home.xml | 3 ++- .../main/java/com/yunbao/main/activity/UserHomeActivity.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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);