-1

I want create shape such as this image :

enter image description here

But i do not want use 9 pach png image, i want create this shape in drawable folder. How can i create this? Any help could be appreciated! Thanks

F_Feed
  • 125
  • 1
  • 1
  • 8
  • `i do not want use 9 pach png image, i want create this shape in drawable folder` **where else** would you put a 9 patch? – Phantômaxx Apr 26 '16 at 13:07

1 Answers1

0

You could use VectorDrawable if your using >api 21, or shapes(maybe a triangle and rectangle combined) with borders.

Community
  • 1
  • 1
  • Thnx, but i have a question. how can i set border just top of shape ? or set border just left of shape? – F_Feed Apr 26 '16 at 13:22
  • I think you can´t define that, I would probably reuse my shapes, first draw shapes with solid black then draw same shapes with your color on top with padding to make it look like a border – Christian Stengel Apr 26 '16 at 13:51