Answer the question
In order to leave comments, you need to log in
How to implement slanted view element in recyclerview?
How to implement slanted view element in recyclerview?
I want to implement a similar list with dynamic colors. Other than how to apply a gradient through a LinearGradient, I don’t know how to make it look like an inclination.
Answer the question
In order to leave comments, you need to log in
as an option - write a custom view that will draw black triangles around the edges. Add the right gradient to this and you get the illusion that they are tilted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question