title: Issue with dynamically adding textview android
body: <p>I have a expandable listview which contains a submit button. On click of submit button text view should be created one before the previous one. I tried with the below code .. but  it not displaying correctly. Two textviews are added correctly but thereafter it replacing the old textviews..Please tell me what wrong with my code </p>
  
  <pre><code>   imGbtn.setOnClickListener(new OnClickListener() {                
              public void onClick(View v) {
      int prevTextViewId = 0;
      int curTextViewId = prevTextViewId + 1;
      Random rnd = new Random();
      final TextView textView = new TextView(mContext);
      textView.setText(data);     
      textView.setId(curTextViewId);
      final RelativeLayout.LayoutParams params = 
      new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT,       RelativeLayout.LayoutParams.WRAP_CONTENT);
      params.addRule(RelativeLayout.BELOW, textView.getId());
      textView.setLayoutParams(params);
      tvll.addView(textView, params);
      }
      });
  </code></pre>