diff --git a/app/src/main/java/com/gh/gamecenter/game/imageslide/ImageSlideAdapter.kt b/app/src/main/java/com/gh/gamecenter/game/imageslide/ImageSlideAdapter.kt index 47c9ad07bf..dfce7791ff 100644 --- a/app/src/main/java/com/gh/gamecenter/game/imageslide/ImageSlideAdapter.kt +++ b/app/src/main/java/com/gh/gamecenter/game/imageslide/ImageSlideAdapter.kt @@ -17,7 +17,7 @@ class ImageSlideAdapter(context: Context, var subject: GameEntity, val skipListener: View.OnClickListener, val entrance: String, - private val mShowGameIconGif :Boolean = true) : BaseRecyclerAdapter(context) { + private val mShowGameIconGif: Boolean = true) : BaseRecyclerAdapter(context) { override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): GameHorizontalItemViewHolder { val binding: GameHorizontalItemBinding = GameHorizontalItemBinding.bind(mLayoutInflater.inflate(R.layout.game_horizontal_item, parent, false)) @@ -33,7 +33,7 @@ class ImageSlideAdapter(context: Context, } override fun onBindViewHolder(holder: GameHorizontalItemViewHolder, position: Int) { - val padL = if (position == 0) 88f.dip2px() else 8f.dip2px() + val padL = if (position == 0) 184f.dip2px() else 18f.dip2px() holder.binding.root.setPadding(padL, 0, 0, 8f.dip2px()) val gameEntity = subject.games?.get(position) diff --git a/app/src/main/res/layout/game_attach_item.xml b/app/src/main/res/layout/game_attach_item.xml index 6dbfe434eb..4e211b802a 100644 --- a/app/src/main/res/layout/game_attach_item.xml +++ b/app/src/main/res/layout/game_attach_item.xml @@ -74,7 +74,7 @@