TextView pTextView=(TextView)findViewById(R.id.textView2);String str=pTextView.getText().toString();pTextView.setText(str+"1");