title: How adding two buttons at the end of listview in the second activity?
body: <p>I have list of items, when click on the item, direct to next activity with this item same selected.So, add on. I would like putting in  the second activity two buttons at the end of the items selected.What ways I can do it?
  In the method create() next activity:</p>
  
  <pre><code>    SimpleAdapter adapter = new SimpleAdapter(this, produtos, R.layout.pedidos_list, de, para);
  
      adapter.setViewBinder(this);
  
      setListAdapter(adapter);
  
      Button btAdicionar =    new Button(this);
      btAdicionar.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT,LinearLayout.LayoutParams.WRAP_CONTENT,1f));
  
  
      btAdicionar.setText("Adicionar");
      btAdicionar.setId(R.id.button_adicionar_pedidos_list);
      btAdicionar.setOnClickListener(new View.OnClickListener() {
          public void onClick(View v) {
              adicionarProduto(v);
          } });
  
      getListView().addFooterView(btAdicionar);
  
      getListView().setOnItemClickListener(this);
  </code></pre>