From d2caf5fbbfaf688d499b372255b64998e4b55fcd Mon Sep 17 00:00:00 2001 From: fyf Date: Wed, 24 Jan 2024 14:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/linktab/TopItemDecoration.java | 66 ++++++++++-------- .../linktab/makegood/MakeGoodLeftAdapter.java | 7 +- .../home/fragment/MakeGoodFragment.java | 2 +- app/src/main/res/mipmap-xxxhdpi/silos22.png | Bin 0 -> 4837 bytes 4 files changed, 45 insertions(+), 30 deletions(-) create mode 100644 app/src/main/res/mipmap-xxxhdpi/silos22.png diff --git a/app/src/main/java/com/bonait/bnframework/common/linktab/TopItemDecoration.java b/app/src/main/java/com/bonait/bnframework/common/linktab/TopItemDecoration.java index 0438ff62..3b6001c9 100644 --- a/app/src/main/java/com/bonait/bnframework/common/linktab/TopItemDecoration.java +++ b/app/src/main/java/com/bonait/bnframework/common/linktab/TopItemDecoration.java @@ -6,6 +6,7 @@ import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; +import android.util.Log; import android.view.View; import androidx.annotation.NonNull; @@ -22,7 +23,7 @@ public class TopItemDecoration extends RecyclerView.ItemDecoration{ public Context mContext; //间隔高度 - private int mHeight = 60; + private int mHeight = 50; //矩形画笔 private Paint mPaint=new Paint(); //标签画笔 @@ -46,20 +47,29 @@ public class TopItemDecoration extends RecyclerView.ItemDecoration{ int left = parent.getPaddingLeft(); int right =parent.getWidth() - parent.getPaddingLeft(); int childCount = parent.getChildCount(); - for(int i=0;iw3M;oor!l#D?NW0RX^eVyus+uRZ?_ zBqM#Uwy$|cU%)WDkuFd(DEI>axC%`4b*%5)+{h=sx?sTb>3yvPugLl*RDz3_WHJnf zVz6tFMc zdi+n$;cUKUd;gEzFE&k^)oq*FEB9yK@9p)6tGQFTHWL9AkD>EVwdF07en7W?yX;&Y2$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