// Path: app/src/main/java/sarveshchavan777/inrerface2/HolderActivities/MainActivity.java
// public class MainActivity extends AppCompatActivity {
// 
// 
//     FloatingActionButton fab;
//     int numboftabs = 3;
//     public int icon[] = {R.drawable.homecartoon, R.drawable.settingscartoon, R.drawable.achievementcartoon};
// 
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         setContentView(R.layout.s_activity_main);
//         ViewPager mPager;
//         SlidingTabLayout mTabs;
// 
// 
//         mPager = (ViewPager) findViewById(R.id.pager);
//         mPager.setAdapter(new MyPagerAdapterHome(getSupportFragmentManager(), icon, numboftabs, getApplicationContext()));
//         mTabs = (SlidingTabLayout) findViewById(R.id.tabs);
// 
//         mTabs.setCustomTabView(R.layout.ha_customtablayout, R.id.textTab);
//         mTabs.setDistributeEvenly(true);
//         mTabs.setBackgroundColor(ContextCompat.getColor(getApplicationContext(), R.color.darkpink));
//         mTabs.setSelectedIndicatorColors(ContextCompat.getColor(getApplicationContext(), R.color.white));
//         mTabs.setViewPager(mPager);
//         fab = (FloatingActionButton) findViewById(R.id.fab);
// 
//         fab.setOnClickListener(new View.OnClickListener() {
//             @Override
//             public void onClick(View view) {
//                 Toast.makeText(MainActivity.this, "google sign not available if imported from github", Toast.LENGTH_SHORT).show();
// 
//             }
//         });
//     }
// 
//     @Override
//     public void onBackPressed() {
//         super.onBackPressed();
//         finish();
//         System.exit(0);
//     }
// 
// 
// }


import android.content.Intent;
import android.util.Log;
import com.daimajia.androidanimations.library.Techniques;
import com.viksaa.sssplash.lib.activity.AwesomeSplash;
import com.viksaa.sssplash.lib.cnst.Flags;
import com.viksaa.sssplash.lib.model.ConfigSplash;
import sarveshchavan777.inrerface2.HolderActivities.MainActivity;
import sarveshchavan777.inrerface2.R;
package sarveshchavan777.inrerface2.SplashScreen;




//extends AwesomeSplash!
public class SplashScreen extends AwesomeSplash {

    //DO NOT OVERRIDE onCreate()!
    //if you need to start some services do it in initSplash()!
    String LOG_TAG = "this is my tag";

    @Override
    public void initSplash(ConfigSplash configSplash) {
        if (!isTaskRoot()) {
            final Intent intent = getIntent();
            if (intent.hasCategory(Intent.CATEGORY_LAUNCHER) && Intent.ACTION_MAIN.equals(intent.getAction())) {
                Log.w(LOG_TAG, "Main Activity is not the root.  Finishing Main Activity instead of launching.");
                finish();
                return;
            }
        }
            /* you don't have to override every property */

        //Customize Circular Reveal
        configSplash.setBackgroundColor(R.color.lightbluesplash); //any color you want form colors.xml
        configSplash.setAnimCircularRevealDuration(1000); //int ms
        configSplash.setRevealFlagX(Flags.REVEAL_RIGHT);  //or Flags.REVEAL_LEFT
        configSplash.setRevealFlagY(Flags.REVEAL_BOTTOM); //or Flags.REVEAL_TOP

        //Choose LOGO OR PATH; if you don't provide String value for path it's logo by default

        //Customize Logo
        configSplash.setLogoSplash(R.drawable.cglogo); //or any other drawable
        configSplash.setAnimLogoSplashDuration(1000); //int ms
        configSplash.setAnimLogoSplashTechnique(Techniques.FadeIn); //choose one form Techniques (ref: https://github.com/daimajia/AndroidViewAnimations)


        //Customize Path
        // configSplash.setPathSplash(Constants.DROID_LOGO); //set path String
        configSplash.setOriginalHeight(400); //in relation to your svg (path) resource
        configSplash.setOriginalWidth(400); //in relation to your svg (path) resource
        configSplash.setAnimPathStrokeDrawingDuration(1000);
        configSplash.setPathSplashStrokeSize(3); //I advise value be <5
        configSplash.setPathSplashStrokeColor(R.color.lightbluesplash); //any color you want form colors.xml
        configSplash.setAnimPathFillingDuration(1000);
        configSplash.setPathSplashFillColor(R.color.white); //path object filling color


        //Customize Title
        configSplash.setTitleSplash(getResources().getString(R.string.charetakergames));
        configSplash.setTitleTextColor(R.color.white);
        configSplash.setTitleTextSize(20f); //float value
        configSplash.setAnimTitleDuration(0);
        configSplash.setAnimTitleTechnique(Techniques.FadeIn);
        configSplash.setTitleFont("fonts/grobold.ttf"); //provide string to your font located in assets/fonts/

    }

    @Override
    public void animationsFinished() {
// Path: app/src/main/java/sarveshchavan777/inrerface2/HolderActivities/MainActivity.java
// public class MainActivity extends AppCompatActivity {
// 
// 
//     FloatingActionButton fab;
//     int numboftabs = 3;
//     public int icon[] = {R.drawable.homecartoon, R.drawable.settingscartoon, R.drawable.achievementcartoon};
// 
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         setContentView(R.layout.s_activity_main);
//         ViewPager mPager;
//         SlidingTabLayout mTabs;
// 
// 
//         mPager = (ViewPager) findViewById(R.id.pager);
//         mPager.setAdapter(new MyPagerAdapterHome(getSupportFragmentManager(), icon, numboftabs, getApplicationContext()));
//         mTabs = (SlidingTabLayout) findViewById(R.id.tabs);
// 
//         mTabs.setCustomTabView(R.layout.ha_customtablayout, R.id.textTab);
//         mTabs.setDistributeEvenly(true);
//         mTabs.setBackgroundColor(ContextCompat.getColor(getApplicationContext(), R.color.darkpink));
//         mTabs.setSelectedIndicatorColors(ContextCompat.getColor(getApplicationContext(), R.color.white));
//         mTabs.setViewPager(mPager);
//         fab = (FloatingActionButton) findViewById(R.id.fab);
// 
//         fab.setOnClickListener(new View.OnClickListener() {
//             @Override
//             public void onClick(View view) {
//                 Toast.makeText(MainActivity.this, "google sign not available if imported from github", Toast.LENGTH_SHORT).show();
// 
//             }
//         });
//     }
// 
//     @Override
//     public void onBackPressed() {
//         super.onBackPressed();
//         finish();
//         System.exit(0);
//     }
// 
// 
// }


// Path: app/src/main/java/sarveshchavan777/inrerface2/SplashScreen/SplashScreen.java
import android.content.Intent;
import android.util.Log;
import com.daimajia.androidanimations.library.Techniques;
import com.viksaa.sssplash.lib.activity.AwesomeSplash;
import com.viksaa.sssplash.lib.cnst.Flags;
import com.viksaa.sssplash.lib.model.ConfigSplash;
import sarveshchavan777.inrerface2.HolderActivities.MainActivity;
import sarveshchavan777.inrerface2.R;

package sarveshchavan777.inrerface2.SplashScreen;




//extends AwesomeSplash!
public class SplashScreen extends AwesomeSplash {

    //DO NOT OVERRIDE onCreate()!
    //if you need to start some services do it in initSplash()!
    String LOG_TAG = "this is my tag";

    @Override
    public void initSplash(ConfigSplash configSplash) {
        if (!isTaskRoot()) {
            final Intent intent = getIntent();
            if (intent.hasCategory(Intent.CATEGORY_LAUNCHER) && Intent.ACTION_MAIN.equals(intent.getAction())) {
                Log.w(LOG_TAG, "Main Activity is not the root.  Finishing Main Activity instead of launching.");
                finish();
                return;
            }
        }
            /* you don't have to override every property */

        //Customize Circular Reveal
        configSplash.setBackgroundColor(R.color.lightbluesplash); //any color you want form colors.xml
        configSplash.setAnimCircularRevealDuration(1000); //int ms
        configSplash.setRevealFlagX(Flags.REVEAL_RIGHT);  //or Flags.REVEAL_LEFT
        configSplash.setRevealFlagY(Flags.REVEAL_BOTTOM); //or Flags.REVEAL_TOP

        //Choose LOGO OR PATH; if you don't provide String value for path it's logo by default

        //Customize Logo
        configSplash.setLogoSplash(R.drawable.cglogo); //or any other drawable
        configSplash.setAnimLogoSplashDuration(1000); //int ms
        configSplash.setAnimLogoSplashTechnique(Techniques.FadeIn); //choose one form Techniques (ref: https://github.com/daimajia/AndroidViewAnimations)


        //Customize Path
        // configSplash.setPathSplash(Constants.DROID_LOGO); //set path String
        configSplash.setOriginalHeight(400); //in relation to your svg (path) resource
        configSplash.setOriginalWidth(400); //in relation to your svg (path) resource
        configSplash.setAnimPathStrokeDrawingDuration(1000);
        configSplash.setPathSplashStrokeSize(3); //I advise value be <5
        configSplash.setPathSplashStrokeColor(R.color.lightbluesplash); //any color you want form colors.xml
        configSplash.setAnimPathFillingDuration(1000);
        configSplash.setPathSplashFillColor(R.color.white); //path object filling color


        //Customize Title
        configSplash.setTitleSplash(getResources().getString(R.string.charetakergames));
        configSplash.setTitleTextColor(R.color.white);
        configSplash.setTitleTextSize(20f); //float value
        configSplash.setAnimTitleDuration(0);
        configSplash.setAnimTitleTechnique(Techniques.FadeIn);
        configSplash.setTitleFont("fonts/grobold.ttf"); //provide string to your font located in assets/fonts/

    }

    @Override
    public void animationsFinished() {
        Intent intent = new Intent(getApplicationContext(), MainActivity.class);