I am trying to repeat with xml file and it was good with regular background and also for the curved edged buttons etc. Now i am trying to have a outlined background for a layout with repeat xml.
How can i repeat only in Xaxis or Yaxis with a piece.
The final thing i required and the slices i have are:




I Got the solution and i have used this XML file in drawable and it added as the layout background.
[shape xmlns:android=”http://schemas.android.com/apk/res/android” android:shape=”rectangle”>