优化首页直播页面间距

This commit is contained in:
Martin 2024-10-23 16:22:17 +08:00
parent aca659efdb
commit 89f2f40f34
2 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ public class MainHomeLiveWeekItemViewHolder<T> extends RecyclerView.ViewHolder {
TextView textView = rootView.findViewById(R.id.name2); TextView textView = rootView.findViewById(R.id.name2);
TextView title = rootView.findViewById(R.id.title); TextView title = rootView.findViewById(R.id.title);
ImageView imageView = rootView.findViewById(R.id.week_live); ImageView imageView = rootView.findViewById(R.id.week_live);
ImgLoader.display2(itemView.getContext(), model.getAnchor_avatar(), imageView,400,400); ImgLoader.display2(itemView.getContext(), model.getAnchor_avatar(), imageView,400,500);
textView.setText(model.getAnchor_name()); textView.setText(model.getAnchor_name());
title.setText(model.getContent()); title.setText(model.getContent());
viewflipperBanner.addView(rootView); viewflipperBanner.addView(rootView);

View File

@ -4,8 +4,8 @@
android:gravity="center" android:gravity="center"
android:paddingRight="5dp" android:paddingRight="5dp"
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:paddingTop="12dp" android:paddingTop="6dp"
android:paddingBottom="10dp" android:paddingBottom="6dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"> android:layout_height="wrap_content">