Mi spiegate perchè non riesco a visualizzare il risultato della somma in un EditText??
verdii=(EditText)findViewById(R.id.ver);
rossii= (EditText)findViewById(R.id.ros);
giallee=(EditText)findViewById(R.id.gia);
rdb1=(RadioButton)findViewById(R.id.rdb1);
btn1=(Button)findViewById(R.id.butt);
textView1=(TextView)findViewById(R.id.testo1);
btn1.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
int tot= Integer.parseInt(verdii.getText().toString());
textView1.setText(tot);
});
Graaazie![]()