<commit_before>package es.uniovi.imovil.fcrtrainer;

import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;

public class HelpActivity extends ActionBarActivity {

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

		if (savedInstanceState == null) {
			getSupportFragmentManager().beginTransaction()
					.add(R.id.container, new HelpFragment()).commit();
		}
	}
	
	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		// Handle action bar item clicks here. The action bar will
		// automatically handle clicks on the Home/Up button, so long
		// as you specify a parent activity in AndroidManifest.xml.
		int id = item.getItemId();
		if (id == R.id.action_settings) {
			return true;
		}
		return super.onOptionsItemSelected(item);
	}

	/**
	 * HelpFragment fragment with the information about the developers
	 */
	public static class HelpFragment extends Fragment {
		private ImageView epiLogo;
		private ImageView groupImage;

		public HelpFragment() {
		}

		@Override
		public View onCreateView(LayoutInflater inflater, ViewGroup container,
				Bundle savedInstanceState) {
			View rootView = inflater.inflate(R.layout.fragment_help, container,
					false);
			
			epiLogo = (ImageView) rootView.findViewById(R.id.epilogo);
			groupImage = (ImageView) rootView.findViewById(R.id.groupphoto);
					
			epiLogo.setOnClickListener(new OnClickListener(){

				@Override
				public void onClick(View arg0) {
					if(groupImage.getVisibility() == View.GONE)
						groupImage.setVisibility(View.VISIBLE);
					else 
						groupImage.setVisibility(View.GONE);
					
				}
				
			});
			
			return rootView;
		}
	}

}<commit_msg>Refactorización: seguir convenciones de Android para nombrar campos<commit_after>package es.uniovi.imovil.fcrtrainer;

import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;

public class HelpActivity extends ActionBarActivity {

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

		if (savedInstanceState == null) {
			getSupportFragmentManager().beginTransaction()
					.add(R.id.container, new HelpFragment()).commit();
		}
	}
	
	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		// Handle action bar item clicks here. The action bar will
		// automatically handle clicks on the Home/Up button, so long
		// as you specify a parent activity in AndroidManifest.xml.
		int id = item.getItemId();
		if (id == R.id.action_settings) {
			return true;
		}
		return super.onOptionsItemSelected(item);
	}

	/**
	 * HelpFragment fragment with the information about the developers
	 */
	public static class HelpFragment extends Fragment {
		private ImageView mEpiLogo;
		private ImageView mGroupImage;

		public HelpFragment() {
		}

		@Override
		public View onCreateView(LayoutInflater inflater, ViewGroup container,
				Bundle savedInstanceState) {
			View rootView = inflater.inflate(R.layout.fragment_help, container,
					false);
			
			mEpiLogo = (ImageView) rootView.findViewById(R.id.epilogo);
			mGroupImage = (ImageView) rootView.findViewById(R.id.groupphoto);
					
			mEpiLogo.setOnClickListener(new OnClickListener(){

				@Override
				public void onClick(View arg0) {
					if(mGroupImage.getVisibility() == View.GONE)
						mGroupImage.setVisibility(View.VISIBLE);
					else 
						mGroupImage.setVisibility(View.GONE);
					
				}
				
			});
			
			return rootView;
		}
	}

}
{'fraction_non_alphanumeric': 0.09506172839506173, 'fraction_numerical': 0.0014814814814814814, 'mean_word_length': 4.11489898989899, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4146753', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1161, 'n_words': 281}