How I can draw this type of shape and change color in runtime
I am referring this Making a triangle shape using xml definitions? but its not giving as expecting result
Asked
Active
Viewed 159 times
2
-
If it has fixed size, it's possible. – tiny sunlight Jan 23 '16 at 04:31
-
ya fix size(wrap) but it should work on all size of phone .. @tinysunlight can you give me ? – andro Jan 23 '16 at 04:45
-
Can you show how you use it? – tiny sunlight Jan 23 '16 at 07:00
-
view with background and inside 2 textview – andro Jan 23 '16 at 07:13
1 Answers
1
Use 9 patch image For that.
Or Here you can make that shape Direct,
-
but all elements Colors are not fix and i have to set this for textview background .so in 1st i want to set 1,2,3 text in middle one i want title and in down arrow/tragnle only color so i dont think only image will do – andro Jan 23 '16 at 05:12
-
-
-
-
crop your shape and save it. then go to direct trapezoid shape link and there select that image and download your shape. – Jan 23 '16 at 07:28
-