Android: How to add button below the listview
<p>I bind the data from array-list to Listview as below:</p>

<pre><code>    public void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        ListView lstView = getListView();       
        lstView.setChoiceMode(2); 

        ArrayList&lt;String&gt; listTODO = PrepareList();
        lv_arr = (String[]) listTODO.toArray(new String[0]);        
        setListAdapter(new ArrayAdapter&lt;String&gt;(this,
            android.R.layout.simple_list_item_checked, lv_arr));
        lstView.setTextFilterEnabled(true);
     }

    private ArrayList&lt;String&gt; PrepareList() {
    ArrayList&lt;String&gt; todoItems = new ArrayList&lt;String&gt;();
    todoItems.add("AAA");
    todoItems.add("BBB");
    todoItems.add("CCC");
    todoItems.add("DDD");
    return todoItems;
    }
</code></pre>

<p>And the ListView have set multi-selected. I want to get the text have been selected on that Listview after button hv been clicked.
Anybody can help me to put the button below that ListView. I can't figure it out how to put the button coz it's didn't have the xml layout file.
.</p>
