代码是这样的
Button next;
next =(Button) findViewById(R.id.button1);
next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
}
});
代码是这样的
Button next;
next =(Button) findViewById(R.id.button1);
next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
}
});