How to create custom shapes in android?



I want to create the following shape with xml in android.enter image description here


Its a layout background which holds some buttons. And the number of childs may change in runtime, therefor it should be work like a nine-patch image. The manner should be as thisenter image description here


I don't want to use images. Please anybody help me to do this with xml.


No comments:

Post a Comment