Anroid LinearLayout with diagonal dividers

0

I have a query. I need to implement a view with 3 images (representing 3 options), divided horizontally. But they are divided through a diagonal of X degrees.

Will there be any way to do it? Thanks.

    
asked by Jhonatan Sandoval 06.03.2017 в 21:57
source

1 answer

0

Until today (API 25) it is not possible to create a view that has an inclined side like the one you comment on.

It depends on the design you want but as an option you could simulate this with an image that makes you assume it is part of the view that is on your right, frame with red color the image that would be rectangular:

    
answered by 06.03.2017 в 22:36