package com.sqh.buddiesgo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}

@@ -95,16 +95,72 @@
 .Bundle;
+%0Aimport android.view.View;%0Aimport android.widget.Button;
 %0A%0Apublic
@@ -370,16 +370,887 @@
 y_main);
+%0A%0A        // Creates event listeners for home page buttons%0A        final Button foodButton = (Button) findViewById(R.id.foodButton);%0A        foodButton.setOnClickListener(new View.OnClickListener() %7B%0A            public void onClick(View view) %7B%0A                // Perform action on click%0A                // Call food buddy page%0A            %7D%0A        %7D);%0A%0A        final Button hikingButton = (Button) findViewById(R.id.hikingButton);%0A        hikingButton.setOnClickListener(new View.OnClickListener() %7B%0A            public void onClick(View view) %7B%0A                // Call hiking buddy page%0A            %7D%0A        %7D);%0A%0A        final Button movieButton = (Button) findViewById(R.id.movieButton);%0A        movieButton.setOnClickListener(new View.OnClickListener() %7B%0A            public void onClick(View view) %7B%0A                // Call movie buddy page%0A            %7D%0A        %7D);
 %0A    %7D%0A%7D

Update MainActivity.java