title: How to add EditText elements in Android on the same activity?
body: <p>I have a <code>DetailsActivity</code> which has a <code>TextView</code> and <code>TimeEditText</code> for <strong>Date</strong>. User can add a date in that. There is a <code>Button</code> called <code>Add Detail</code></p>
  
  <p>I want that when a user enters a date like d-m-yy (future) then below this <code>TimeEditText</code> element, the activity should show a no. of <code>WeekEditText</code> as</p>
  
  <p>Week1: <code>WeekEditText1</code> <em>(To add details for 1st week)</em></p>
  
  <p>Week2: <code>WeekEditText2</code> <em>(To add details for 2nd week)</em> and so on.</p>
  
  <p>The total no. of week is <code>(AddedDate - CurrentDate)/7</code></p>
  
  <p>One of way of doing is calling another new activity on clicking <code>Add Detail</code> button and then showing all <em>EditTexts</em> on next activity while passsing <code>AddedDate</code> etc through Intent.</p>
  
  <p>But is it possible to show <code>EditText</code> on same page below <code>TimeEditText</code> after user enters a date?</p>