Dismissing a listview
<p>I am  populating a simple listview which shows itself when i click on a button,now the code for that is </p>

<pre><code>st.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                setlist=new  ArrayList&lt;String&gt;();
                setlist.add("Change Password");
                setlist.add("Change Image");
                setlist.add("Logout");
                settr=new ArrayAdapter&lt;String&gt;(ChatPref.this, android.R.layout.simple_list_item_1,setlist);
                llr.setAdapter(settr);
</code></pre>

<p>now I wanted to know ,what can I do dismiss this listview,as pressing back would take me to my previous activity..
any help would be greatly appreciated..</p>
