title: Not being able to add multiple child views to parent view
body: <p>I am trying to add multiple relative layouts to a Linear layout. I am using the following lines of code.</p>
  
  <pre><code>        LayoutInflater inflator = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
          LinearLayout item = (LinearLayout)findViewById(R.id.reviews);
  
          for(int i=0 ; i&lt;2 ; i++){
              View child = inflator.inflate(R.layout.review_item, null);
              child.setId(i);
              child.setTag(i);
              item.addView(child);
          }
  </code></pre>
  
  <p>But I can only see one child view. Can anyone tell me where I am going wrong.</p>