Add row in list view in android
<p>I have a list view and i want to add 4 rows in the list view and each row contains progress bar and start button. For this purpose i have created another layout for row which contains progress bar and button.
Now in my main activity i am writing the code but listview is not displaying.</p>

<pre><code>ArrayAdapter adapter = new Arrayadaper(this, R.layout.row);

ListView listView = (ListView) findViewById(R.id.listView1);
listView.setAdapter(adapter);
</code></pre>
