@@ -0,0 +1,2154 @@
+package br.com.geconp.geconp;%0A%0Aimport android.app.Activity;%0Aimport android.app.ListActivity;%0Aimport android.content.Intent;%0Aimport android.support.v7.app.ActionBarActivity;%0Aimport android.os.Bundle;%0Aimport android.view.Menu;%0Aimport android.view.MenuItem;%0Aimport android.view.View;%0Aimport android.widget.ArrayAdapter;%0Aimport android.widget.ListView;%0Aimport android.widget.Toast;%0A%0A%0Apublic class HistoricoPoupancaActivity extends ListActivity %7B%0A    private static final String%5B%5D opcoes= %7B%22Valores Depositados%22,%22Valores Retirados%22%7D;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        //setContentView(R.layout.activity_historico_poupanca);%0A%0A        ArrayAdapter%3CString%3E adapter= new ArrayAdapter%3CString%3E(this, R.layout.item_his_poupanca, opcoes);%0A        setListAdapter(adapter);%0A    %7D%0A%0A    @Override%0A    protected void onListItemClick(ListView l, View v, int position, long id) %7B%0A        super.onListItemClick(l, v, position, id);%0A%0A        if(id==0)%7B%0A            Toast.makeText(this, %22Position 1%22, Toast.LENGTH_LONG).show();%0A            startActivity(new Intent(HistoricoPoupancaActivity.this,HistDepositoActivity.class ));%0A        %7Delse if(id==1)%7B%0A            Toast.makeText(this, %22Position 2%22, Toast.LENGTH_LONG).show();%0A            startActivity(new Intent(HistoricoPoupancaActivity.this,HistRetiradoActivity.class ));%0A%0A        %7D%0A    %7D%0A%0A    @Override%0A    public boolean onCreateOptionsMenu(Menu menu) %7B%0A        // Inflate the menu; this adds items to the action bar if it is present.%0A        getMenuInflater().inflate(R.menu.menu_historico_poupanca, menu);%0A        return true;%0A    %7D%0A%0A    @Override%0A    public boolean onOptionsItemSelected(MenuItem item) %7B%0A        // Handle action bar item clicks here. The action bar will%0A        // automatically handle clicks on the Home/Up button, so long%0A        // as you specify a parent activity in AndroidManifest.xml.%0A        int id = item.getItemId();%0A%0A        //noinspection SimplifiableIfStatement%0A        if (id == R.id.action_settings) %7B%0A            return true;%0A        %7D%0A%0A        return super.onOptionsItemSelected(item);%0A    %7D%0A%7D%0A

Create HistoricoPoupancaActivity.java