// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/view/AboutFragment.java
// public class AboutFragment extends PreferenceFragment {
//     @Override
//     public void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         addPreferencesFromResource(R.layout.about);
//         Preference about = findPreference("ABOUT");
//         if(about != null) {
//             String versionName = "";
//             try {
//                 versionName = getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName;
//             }
//             catch(NameNotFoundException e) {
//                 e.printStackTrace();
//             }
//             about.setTitle(about.getTitle() + " " + versionName);
//         }
//     }
// }


import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.InterstitialAd;
import com.gigabytedevelopersinc.app.calculator.view.AboutFragment;
package com.gigabytedevelopersinc.app.calculator;




/**
 * @author Emmanuel Nwokoma (Founder and CEO of Gigabyte Developers INC)
 **/
public class About extends Activity {

    //Create New Variable of type InterstitialAd
    private InterstitialAd mInterstitialAd;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        if (getActionBar() != null)
        {
            getActionBar().setDisplayHomeAsUpEnabled(true);
        }
        super.onCreate(savedInstanceState);
        if(savedInstanceState == null) {
// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/view/AboutFragment.java
// public class AboutFragment extends PreferenceFragment {
//     @Override
//     public void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         addPreferencesFromResource(R.layout.about);
//         Preference about = findPreference("ABOUT");
//         if(about != null) {
//             String versionName = "";
//             try {
//                 versionName = getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName;
//             }
//             catch(NameNotFoundException e) {
//                 e.printStackTrace();
//             }
//             about.setTitle(about.getTitle() + " " + versionName);
//         }
//     }
// }


// Path: app/src/main/java/com/gigabytedevelopersinc/app/calculator/About.java
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.InterstitialAd;
import com.gigabytedevelopersinc.app.calculator.view.AboutFragment;

package com.gigabytedevelopersinc.app.calculator;




/**
 * @author Emmanuel Nwokoma (Founder and CEO of Gigabyte Developers INC)
 **/
public class About extends Activity {

    //Create New Variable of type InterstitialAd
    private InterstitialAd mInterstitialAd;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        if (getActionBar() != null)
        {
            getActionBar().setDisplayHomeAsUpEnabled(true);
        }
        super.onCreate(savedInstanceState);
        if(savedInstanceState == null) {
            AboutFragment about = new AboutFragment();