package treehacks.tinderplusplus;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class LookingFor extends AppCompatActivity {

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

        findViewById(R.id.next2).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                onNextButtonClicked(v);
            }
        });
    }

    public void onNextButtonClicked(View view){
        Intent i = new Intent(this, Questions.class);
        startActivity(i);
    }
}

@@ -413,16 +413,442 @@
 ng_for);
+%0A        SeekBar _genderpref = (SeekBar)findViewById(R.id.seekbar2);%0A        int genderpref = _genderpref.getProgress();%0A%0A        Spinner _agepref = (Spinner) findViewById(R.id.agepref);%0A        String agepref = _agepref.getSelectedItem().toString();%0A        //agepref in form %2225 to 30%22 or %2245 to 100%22%0A        int agemin = Integer.parseInt(agepref.substring(0,1));%0A        int agemax = Integer.parseInt(agepref.substring(6));
 %0A%0A      

Update LookingFor.java