title: Is it possible to add views to layout in onLayout event?
body: <p>Is it possible to add views to a layout during the onLayout event of one of its Childs?</p>
  
  <p>i.e. </p>
  
  <p>FrameLayout contains View, in View.onLayout() I want to add views to the parent FrameLayout.</p>
  
  <p>This is because the views I need to draw on the FrameLayout needs the child View dimensions (width, height) to assign them to particular positions on the FrameLayout.</p>
  
  <p>I already try to do so, but nothing is getting drawn. Do you know how can I accomplish the same effect? or if I'm doing something wrong. Don't know why I'm unable to draw the views, event if I call invalidate.</p>
  
  <p>Thanks.</p>