<span style="font-family: Arial, Helvetica, sans-serif;">OnClickListener{</span>
private TextView tv1;
private TextView tv2;
private TextView tv3;
private TextView tv4;
private TextView tv5;
private TextView tv6;
private TextView tv7;
String textStr="浏阳河是猪头,是笨蛋";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
tv1=(TextView)this.findViewById(R.id.textView1);
tv2=(TextView)this.findViewById(R.id.textView2);
tv3=(TextView)this.findViewById(R.id.textView3);
tv4=(TextView)this.findViewById(R.id.textView4);
tv5=(TextView)this.findViewById(R.id.textView5);
tv6=(TextView)this.findViewById(R.id.textView6);
tv7=(TextView)this.findViewById(R.id.textView7);
tv1.setOnClickListener(this);
tv2.setOnClickListener(this);