Forráskód Böngészése

feat: 推荐游戏图片圆角

tongmengxiao 6 hónapja
szülő
commit
12ef748419

+ 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)
     }