首页顶部黑线调整top距离

This commit is contained in:
Martin 2024-10-23 16:04:40 +08:00
parent c92ae05606
commit 95e4eca7cf

View File

@ -180,6 +180,7 @@ public abstract class AbsMainHomeParentViewHolder extends AbsMainViewHolder {
linePagerIndicator.setMode(LinePagerIndicator.MODE_EXACTLY); linePagerIndicator.setMode(LinePagerIndicator.MODE_EXACTLY);
linePagerIndicator.setLineWidth(40); linePagerIndicator.setLineWidth(40);
linePagerIndicator.setLineHeight(10); linePagerIndicator.setLineHeight(10);
linePagerIndicator.setYOffset(5);
linePagerIndicator.setRoundRadius(DpUtil.dp2px(16)); linePagerIndicator.setRoundRadius(DpUtil.dp2px(16));
linePagerIndicator.setColors(Color.parseColor("#FF111111")); linePagerIndicator.setColors(Color.parseColor("#FF111111"));
return linePagerIndicator; return linePagerIndicator;