0

I am an Android developer. When I started the project, I needed to put a trapezoid in my layout, but I asked questions because I didn't know how to make it. I want to make it look like the picture below.

What should I do? I don't think it's a good idea to put an image

adneal
  • 30,484
  • 10
  • 122
  • 151
  • have you tried drawing in a canvas? https://developer.android.com/training/custom-views/custom-drawing.html – jace Sep 12 '17 at 01:25
  • Well, I also thought about drawing on canvas. However, I was worried that it was more efficient than drawing a layout. – seongsu lee Sep 12 '17 at 01:37
  • how about using vector drawable ? https://stackoverflow.com/a/42928916/6914992. it also have a link how to understand it under the comment :) – jace Sep 12 '17 at 02:15
  • Right! This is what I wanted. Thank you very much. – seongsu lee Sep 12 '17 at 02:29

0 Answers0