title: Dynamically Create View with Many Shapes
body: <p>I am trying to <strong>dynamically</strong> create views made up of different shapes. Each view will be slightly different like these: </p>
  
  <p>View 1</p>
  
  <p><img src="https://i.stack.imgur.com/9UiA2.jpg" alt="View 1"></p>
  
  <p>View 2</p>
  
  <p><img src="https://i.stack.imgur.com/ZEQbZ.jpg" alt="View 2">.</p>
  
  <p>Once I have the information, how can I construct a view which contains multiple shapes like the ones above?</p>
  
  <p>I tried using <code>drawable</code> but I cannot, because I want to do this dynamically and the lengths of the objects are fixed. What should I use to do this? Thanks a lot!</p>