diff --git a/live/src/main/java/com/yunbao/live/views/SearchRecommendBodyItemViewHolder.java b/live/src/main/java/com/yunbao/live/views/SearchRecommendBodyItemViewHolder.java index 9c8ce5a65..078dd39e5 100644 --- a/live/src/main/java/com/yunbao/live/views/SearchRecommendBodyItemViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/SearchRecommendBodyItemViewHolder.java @@ -45,7 +45,13 @@ public class SearchRecommendBodyItemViewHolder extends RecyclerView.ViewHolder { pkico = (ImageView) itemView.findViewById(R.id.pk_ico); drPkIco = (ImageView) itemView.findViewById(R.id.dr_pk_ico); pkAvatar = (ImageView) itemView.findViewById(R.id.pk_avatar); - + liveType.setVisibility(View.GONE); + mLiveIco.setVisibility(View.GONE); + mLiveState.setVisibility(View.GONE); + mNum.setVisibility(View.GONE); + pkAvatar.setVisibility(View.GONE); + pkico.setVisibility(View.GONE); + mTitle.setVisibility(View.GONE); } diff --git a/live/src/main/res/layout/item_main_home_lives.xml b/live/src/main/res/layout/item_main_home_lives.xml index bc032eab4..a259591ba 100644 --- a/live/src/main/res/layout/item_main_home_lives.xml +++ b/live/src/main/res/layout/item_main_home_lives.xml @@ -3,6 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginStart="9dp" android:gravity="center" android:orientation="vertical"> @@ -16,8 +17,7 @@ + android:layout_marginBottom="9dp"> + android:layout_height="match_parent"> + +