title: Added Views appear at top of screen
body: <p>I've been trying to add multiple textviews and buttons when onClick, and this is the best code I have found that actually works:</p>
  
  <pre><code>    RelativeLayout relative = (RelativeLayout) findViewById(R.id.RelativeLayout01);
      LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(
              (LayoutParams.WRAP_CONTENT), (LayoutParams.WRAP_CONTENT));
  
      TextView tv = new TextView(getApplicationContext());
      tv.setLayoutParams(lp);
      tv.setText("Shift" + mShiftCount);
  
      EditText edittv = new EditText(getApplicationContext());
      edittv.setLayoutParams(lp);
  
      relative.addView(tv);
      relative.addView(edittv);
  </code></pre>
  
  <p>This seems to be the best code to add additional items that are alike to that of what I already have in my main.XML file. 
  My issue is that when these are added, they appear at the top of the screen and I am unsure how to add further parameters to the objects.
  How would I go about placing the textview and edittext below my other elements specified in the XML?</p>