is it possible to have two TextView in a listView item?
<p>i would like to create a listView, but i want in every listitem to have 2 different textViews and a button..is that possible?</p>

<p>i m using a row xml file for my list items..</p>

<pre><code>public class main extends Activity {
    private ListView lv1;

    private String lv_arr[]={"a","b","c","d"};

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main); 





        lv1=(ListView)findViewById(R.id.list);



        lv1.setAdapter(new ArrayAdapter&lt;String&gt;(this,R.layout.row , lv_arr));


        lv1.setOnItemClickListener(new OnItemClickListener() {
             public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                      int position, long id) {
                    switch( position )
                    {
                       case 0:  Intent newActivity = new Intent(chania.this, cafe.class);     

                        break;


                      //...........


                    }
                }
          });

    }
}
</code></pre>
