From ba92e34b7dbdc2fe34e98fc3a628ebecc5108bfe Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 31 Aug 2022 14:31:51 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E8=B0=83=E6=95=B4Banner?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=20update=EF=BC=9A=E8=B0=83=E6=95=B4=E5=AE=88?= =?UTF-8?q?=E6=8A=A4=E5=B8=AD=E4=BD=8D=E7=BD=AE=20update=EF=BC=9A=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E8=A7=82=E4=BC=97=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/res/layout/item_live_user.xml | 2 + live/src/main/res/layout/view_live_room.xml | 63 ++++++++++--------- .../main/adapter/MainHomeLiveAdapter.java | 2 +- .../res/layout/item_main_home_live_head.xml | 2 +- 4 files changed, 36 insertions(+), 33 deletions(-) diff --git a/live/src/main/res/layout/item_live_user.xml b/live/src/main/res/layout/item_live_user.xml index dc0ef1fae..0b359dcdd 100644 --- a/live/src/main/res/layout/item_live_user.xml +++ b/live/src/main/res/layout/item_live_user.xml @@ -1,7 +1,9 @@ diff --git a/live/src/main/res/layout/view_live_room.xml b/live/src/main/res/layout/view_live_room.xml index 5197283d9..dac81761b 100644 --- a/live/src/main/res/layout/view_live_room.xml +++ b/live/src/main/res/layout/view_live_room.xml @@ -153,8 +153,8 @@ android:layout_width="34dp" android:layout_height="34dp" android:layout_marginEnd="5dp" - android:src="@mipmap/live_icon_focus" android:gravity="center" + android:src="@mipmap/live_icon_focus" android:textColor="@color/white" android:visibility="visible" /> @@ -170,6 +170,33 @@ + + + + + + + + + - - - - - - - - - diff --git a/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java b/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java index 8b6744437..74bd1d236 100644 --- a/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java +++ b/main/src/main/java/com/yunbao/main/adapter/MainHomeLiveAdapter.java @@ -57,7 +57,7 @@ public class MainHomeLiveAdapter extends RefreshAdapter { this.context = context; this.Height = h; mHeadView = mInflater.inflate(R.layout.item_main_home_live_head, null, false); - mHeadView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, DpUtil.dp2px(140))); + mHeadView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, DpUtil.dp2px(120))); } public View getHeadView() { diff --git a/main/src/main/res/layout/item_main_home_live_head.xml b/main/src/main/res/layout/item_main_home_live_head.xml index 348ef45bd..c1c032c7f 100644 --- a/main/src/main/res/layout/item_main_home_live_head.xml +++ b/main/src/main/res/layout/item_main_home_live_head.xml @@ -14,7 +14,7 @@