public void onClick(View v) {
    // Toast.makeText(this,String.valueOf(v.getId()),Toast.LENGTH_SHORT).show();
    Button botonPresionado = (Button) v;
    Intent intentQueVuelveATabActivity =
        new Intent(
            this, com.example.nicolas.clientefinalandroid2.Activities.VentanaContabulaciones.class);

    if (botonPresionado.equals(botonResultadosIZQ)) {
      ManejadorCliente.vaciarConjuntoJugadas();
      intentQueVuelveATabActivity.putExtra("tab?", 1);
      startActivity(intentQueVuelveATabActivity);
      this.finish();
    } else if (botonPresionado.equals(botonResultadosDER)) {
      botonResultadosDER.setEnabled(false);
      botonResultadosIZQ.setEnabled(false);

      ManejadorCliente.enviarConjuntoJugadasAlServer();

      intentQueVuelveATabActivity.putExtra("tab?", 2);
      startActivity(intentQueVuelveATabActivity);
      this.finish();
    }
  }