update:调整Banner高度

update:调整守护席位置
update:调整观众边距
This commit is contained in:
2022-08-31 14:31:51 +08:00
parent 218525d51c
commit ba92e34b7d
4 changed files with 36 additions and 33 deletions

View File

@@ -57,7 +57,7 @@ public class MainHomeLiveAdapter extends RefreshAdapter<LiveBean> {
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() {

View File

@@ -14,7 +14,7 @@
<com.ms.banner.Banner
android:id="@+id/banner"
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_height="wrap_content"
android:layout_marginLeft="3dp"
android:layout_marginBottom="5dp"
app:delay_time="3000"