From 4576011ed357463e454bbd57f93055fa1bd895f7 Mon Sep 17 00:00:00 2001 From: liup <1454939542@qq.com> Date: Tue, 21 May 2024 13:36:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/adapter/loadinggood_adapter.java | 101 +++++++++--------- .../home/fragment/MakeGoodFragment.java | 1 + .../main/res/layout/fragment_make_good.xml | 15 +-- .../item/layout/dialog_add_makegood.xml | 5 + .../layout/item/layout/loadinggood_item.xml | 2 +- .../res/layout/item/layout/newmakegood.xml | 4 +- 6 files changed, 64 insertions(+), 64 deletions(-) diff --git a/app/src/main/java/com/bonait/bnframework/modules/home/adapter/loadinggood_adapter.java b/app/src/main/java/com/bonait/bnframework/modules/home/adapter/loadinggood_adapter.java index 643d1c7b..a83eeab5 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/home/adapter/loadinggood_adapter.java +++ b/app/src/main/java/com/bonait/bnframework/modules/home/adapter/loadinggood_adapter.java @@ -80,57 +80,56 @@ public class loadinggood_adapter extends RecyclerView.Adapter @@ -87,17 +86,11 @@ android:layout_marginTop="@dimen/dp_10" android:layout_width="match_parent" android:layout_height="match_parent"> - - - + android:layout_height="wrap_content" + android:background="@color/main_background"/> diff --git a/app/src/main/res/layout/item/layout/dialog_add_makegood.xml b/app/src/main/res/layout/item/layout/dialog_add_makegood.xml index e59997fd..cfd8aa0e 100644 --- a/app/src/main/res/layout/item/layout/dialog_add_makegood.xml +++ b/app/src/main/res/layout/item/layout/dialog_add_makegood.xml @@ -30,6 +30,11 @@ android:layout_height="wrap_content" android:text="星星知多少奶茶" android:textSize="20dp" + android:paddingLeft="43dp" + android:gravity="center" + android:layout_centerHorizontal="true" + android:maxLines="2" + android:paddingRight="43dp" android:layout_marginLeft="30dp" android:layout_marginTop="@dimen/dp_10"> diff --git a/app/src/main/res/layout/item/layout/loadinggood_item.xml b/app/src/main/res/layout/item/layout/loadinggood_item.xml index 7d436089..3528a745 100644 --- a/app/src/main/res/layout/item/layout/loadinggood_item.xml +++ b/app/src/main/res/layout/item/layout/loadinggood_item.xml @@ -21,7 +21,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:max="100" - android:progress="18" /> + android:progress="0" /> @@ -36,7 +36,7 @@ android:paddingLeft="5dp" android:paddingRight="5dp" tools:text="清炒三月瓜" - android:maxLength="2" + android:maxLines="2" android:ellipsize="end" android:textColor="@color/black" android:textSize="20sp"