diff --git a/live/src/main/java/com/yunbao/live/views/TopBannerCustomViewHolder.java b/live/src/main/java/com/yunbao/live/views/TopBannerCustomViewHolder.java index f38d9000c..689dfe0a3 100644 --- a/live/src/main/java/com/yunbao/live/views/TopBannerCustomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/TopBannerCustomViewHolder.java @@ -36,6 +36,7 @@ public class TopBannerCustomViewHolder implements BannerViewHolder { view = LayoutInflater.from(context).inflate(R.layout.view_live_top_banner_wish, null); ImageView wishlistIcon = view.findViewById(R.id.wishlist_icon); TextView wishlistName = view.findViewById(R.id.wishlist_name); + wishlistName.setSelected(true); TextView wishlistProgress = view.findViewById(R.id.wishlist_progress); ImgLoader.display(context, data.getWishlistIcon(), wishlistIcon); wishlistName.setText(data.getWishlistName()); diff --git a/live/src/main/res/layout/view_live_top_banner_wish.xml b/live/src/main/res/layout/view_live_top_banner_wish.xml index 5687723ff..ca1285407 100644 --- a/live/src/main/res/layout/view_live_top_banner_wish.xml +++ b/live/src/main/res/layout/view_live_top_banner_wish.xml @@ -2,22 +2,32 @@ - + android:layout_gravity="center" + app:layout_constraintTop_toBottomOf="@id/title" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + android:layout_marginTop="2dp" + /> - +