title: Create a TextView with an ID from a String Array - Android
body: <p>In Android, I am wanting to create several TextViews, programmatically, with their own individual IDs, so that I can use, for example a FOR statement to create a certain amount of TextViews, with their own IDs.</p>
  
  <p>For example,</p>
  
  <pre><code>// Created TextView prior
  
  for(int i=0;i&lt;10;i++) {
      linearlayout.addView(ID);
  }
  </code></pre>
  
  <p>So I was wondering if it would be possible for me to have a String Array with a few different IDs and somehow give each TextView the its ID by the position of the String Array. So, for example, when the String Array is 'frogs' the ID of the TextView is 'frogs' and then as the FOR statement increases, so the value of the String Array defining the TextView ID progresses too (If it is even possible at all).</p>
  
  <p>Thanks,
  Brendan</p>