Bladeren bron

feat: 推荐游戏图片圆角

tongmengxiao 6 maanden geleden
bovenliggende
commit
12ef748419
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      room/src/main/java/com/swago/room/adapter/RecommendBannerViewAdapter.kt

+ 1 - 1
room/src/main/java/com/swago/room/adapter/RecommendBannerViewAdapter.kt

@@ -25,7 +25,7 @@ class RecommendBannerViewAdapter(data:List<GameModel>) :  BannerAdapter<GameMode
             ViewGroup.LayoutParams.MATCH_PARENT,
             ViewGroup.LayoutParams.MATCH_PARENT
         )
-        imageView.shapeAppearanceModel = ShapeAppearanceModel().withCornerSize(20f)
+        imageView.shapeAppearanceModel = ShapeAppearanceModel().withCornerSize(30f)
         imageView.scaleType = ImageView.ScaleType.CENTER_CROP
         return BannerViewHolder(imageView)
     }