title: Dynamically add or remove views
body: <p>For my project I need a functionality to dynamically add and remove views(textedit or buttons, etc).</p>
  
  <p>I saw this similar functionality in Android "Add Contact" screen, where plus button add new fields and minus button delete the fields.</p>
  
  <p>I found that <code>EditContactActitivity.java</code> is the file behind "Add Contacts".</p>
  
  <p>I tried to find the methods that are called when plus or minus buttons are pressed but unable to find it, seems like "Add Contact" code is spreaded over multiple files. I am having difficulty understanding Android source code because documentation is unavailable.<br>
  Any advice?</p>