How to create Custom Text Views in android?
<p>Hai  Friends,
             I am parsing the url to display the contents in it, my requirement i have to display the each content  in separate textviews.</p>

<p>For Instance: 
          Let us assume the contents in that url are FootBall, Carom , chess, VolleyBall and so on . I want to display FootBall as a individual textview similarly others. so i cannot declare the textviews in xml what i usually do.</p>

<pre><code>(&lt;TextView  android:text=" " android:layout_width="wrap_content"
                 android:gravity="center_horizontal" android:paddingLeft="7dp" android:layout_height="wrap_content"
               /&gt;).
</code></pre>

<p>so i planned to create textview via java code 
 This is my parsing code which parse the url contents and store the result in a string array namely san_tagname; depending upon the length of this variable i want to create number of textviews.</p>

<pre><code>     List&lt;Message_category&gt; l_obj_tagname = new ArrayList&lt;Message_category&gt;();
        l_obj_tagname = obj_parse1.parse_tagname();
        System.out.println("l_obj_tagname"+l_obj_tagname.size());
        String[] san = new String[l_obj_tagname.size()];
        Iterator&lt;Message_category&gt; it_id1 = l_obj_tagname.iterator();
        i=-1;
        while (it_id1.hasNext()) {

            i++;
            san[i] = it_id1.next().toString();
            System.out.println("Id="+san[i].toString());
            san_tagname[i]=san[i];
            //vm.setTitle(it.next().toString());

        }
         for(int z=0;z&lt;san_tagname.length;z++)
        {
            //how to create textview here ...............
        }
</code></pre>

<p>I am really struggling on this, pls help me regarding on this friends.................</p>

<p>Thanks In Advance
Tilsan The Fighter...</p>
