package net.stack3.buttonsample;

import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_activity);
        
        Button button1 = (Button)findViewById(R.id.normal_button);
        button1.setOnClickListener(normalButtonOnClickListener);
    }

    private OnClickListener normalButtonOnClickListener = new OnClickListener() {
        @Override
        public void onClick(View v) {
            Button button1 = (Button)v;
            button1.setText(R.string.clicked);
        }
    };
    
    
}

@@ -406,39 +406,44 @@
 %0A        Button 
-b
+normalB
 utton
-1
  = (Button)findV
@@ -475,31 +475,36 @@
 n);%0A        
-b
+normalB
 utton
-1
 .setOnClickL
@@ -705,23 +705,28 @@
  Button 
-b
+normalB
 utton
-1
  = (Butt
@@ -747,15 +747,20 @@
     
-b
+normalB
 utton
-1
 .set

Rename variable button1 to normalButton.