<commit_before>package com.infiniteworks.tictactoe;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class TicTacToeMain extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
        //Layout that appears after running the app
		super.onCreate(savedInstanceState);
		setContentView(R.layout.game_menu);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.<commit_msg>Added onclicklistener to exit button. It now exits the app<commit_after>package com.infiniteworks.tictactoe;

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

public class TicTacToeMain extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
        //Layout that appears after running the app
		super.onCreate(savedInstanceState);
		setContentView(R.layout.game_menu);
z
        Button btnExit = (Button) findViewById(R.id.bExit);
        btnExit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
                System.exit(0);
            }
        });
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
{'fraction_non_alphanumeric': 0.08140350877192983, 'fraction_numerical': 0.0007017543859649122, 'mean_word_length': 3.5559105431309903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3225613', 'n_tokens_mistral': 413, 'n_tokens_neox': 386, 'n_words': 118}