https://kotlinlang.org logo
#android
Title
# android
k

Klaas Kabini

12/03/2020, 10:47 AM
How do you make RecyclerView items not overlap when being scaled up. I want them to respect the vertical spacing of 16dp even when scaled up. Right now the problem I am facing is that the items overlaps each other when you zoom in.
google 3
stackoverflow 2
s

Shalom Halbert

12/03/2020, 11:50 AM
What is happenning in the RecyclerView to allow zooming in?
k

Klaas Kabini

12/03/2020, 11:54 AM
@Shalom Halbert I scale the current child using setScaleX and setScaleY based on scale factor
s

Shalom Halbert

12/03/2020, 11:57 AM
Unfortunately, it’s something I’m unacquainted with
21 Views