From ee4926719f81ced82d111d94b071a97ddc890a68 Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Tue, 5 Nov 2024 13:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=88=91=E7=9A=84=E5=B0=8F?= =?UTF-8?q?=E7=BA=A2=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/main/activity/MainActivity.java | 20 +++++++++---------- main/src/main/res/layout/activity_entry2.xml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index 365076d24..ed80e7d3d 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -702,11 +702,11 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene MainHttpUtil.getBaseInfo(new CommonCallback() { @Override public void callback(UserBean bean) { - if (bean.getUserInfoComplete() == 0) { - v_table_redpoint_me.setVisibility(View.VISIBLE); - } else { - v_table_redpoint_me.setVisibility(View.GONE); - } +// if (bean.getUserInfoComplete() == 0) { +// v_table_redpoint_me.setVisibility(View.VISIBLE); +// } else { +// v_table_redpoint_me.setVisibility(View.GONE); +// } } }); @@ -1570,11 +1570,11 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene //红点(我的) @Subscribe(threadMode = ThreadMode.MAIN) public void onCompleteInformationEvent(CompleteInformationEvent event) { - if (event.isCompleteInformation()) { - v_table_redpoint_me.setVisibility(View.VISIBLE); - } else { - v_table_redpoint_me.setVisibility(View.GONE); - } +// if (event.isCompleteInformation()) { +// v_table_redpoint_me.setVisibility(View.VISIBLE); +// } else { +// v_table_redpoint_me.setVisibility(View.GONE); +// } } /** diff --git a/main/src/main/res/layout/activity_entry2.xml b/main/src/main/res/layout/activity_entry2.xml index d512791f0..0d9e9f48a 100644 --- a/main/src/main/res/layout/activity_entry2.xml +++ b/main/src/main/res/layout/activity_entry2.xml @@ -155,7 +155,7 @@ android:textStyle="bold" app:layout_constraintBottom_toBottomOf="@+id/btn_phone" app:layout_constraintEnd_toEndOf="@+id/btn_phone" - app:layout_constraintHorizontal_bias="0.46" + app:layout_constraintHorizontal_bias="0.42" app:layout_constraintStart_toEndOf="@+id/accountImg" app:layout_constraintTop_toTopOf="@+id/btn_phone" />